diff --git a/docs/404.html b/docs/404.html index 5acd4df..f09c531 100644 --- a/docs/404.html +++ b/docs/404.html @@ -49,10 +49,10 @@
diff --git a/docs/LICENSE-text.html b/docs/LICENSE-text.html index 6a35a3f..39bba0a 100644 --- a/docs/LICENSE-text.html +++ b/docs/LICENSE-text.html @@ -32,10 +32,10 @@vignettes/tutorial.Rmd
- tutorial.Rmd
vignettes/01-tutorial.Rmd
+ 01-tutorial.Rmd
(prefix <- download_data(dirname = tempdir()))
-[1] "/var/folders/70/b_q2zdh116b9pfg29p03sx600000gn/T//RtmpNja4nr/snps/snps"
+[1] "/var/folders/70/b_q2zdh116b9pfg29p03sx600000gn/T//RtmpzHxCwT/snps/snps"
We can verify that there are indeed three files with this prefix:
list.files(path = dirname(prefix), pattern = basename(prefix), full.names = TRUE)
-[1] "/var/folders/70/b_q2zdh116b9pfg29p03sx600000gn/T//RtmpNja4nr/snps/snps.geno"
-[2] "/var/folders/70/b_q2zdh116b9pfg29p03sx600000gn/T//RtmpNja4nr/snps/snps.ind"
-[3] "/var/folders/70/b_q2zdh116b9pfg29p03sx600000gn/T//RtmpNja4nr/snps/snps.snp"
Let’s look at their contents:
This object encapsulates the paths to all three EIGENSTRAT components and makes it easy to pass the data to different admixr functions.
@@ -461,7 +461,7 @@(If you want to more know about data analysis using R, including plotting with ggplot2, I highly recommend this free book.)
We can see that the \(D\) values for @@ -708,7 +708,7 @@
We can make several observations:
We can see that when we order the heatmap labels based on values of pairwise \(f_3\) statistics, the (already known) order of population splits pops up nicely (i.e. San @@ -1388,12 +1388,12 @@
We can see that the function relabel
returned a modified
EIGENSTRAT
object, which contains a new item in the
“modifiers” section - the path to a new ind file. Let’s look at its
@@ -1590,12 +1590,12 @@
If we want to run the whole analysis in a single pipeline, we can use
the %>%
pipe operator and do the following:
The situation is a bit more complex for qpAdm which can be evaluated for multiple target populations/samples which are then analyzed separately, with each analysis having its own log file:
@@ -1777,17 +1777,17 @@Finally, we might want to keep some of the log files around for
future reference, further debugging or sharing with others. For these
purposes, we can run the loginfo
function with the argument
diff --git a/docs/articles/tutorial_files/figure-html/d_plot-1.png b/docs/articles/01-tutorial_files/figure-html/d_plot-1.png
similarity index 100%
rename from docs/articles/tutorial_files/figure-html/d_plot-1.png
rename to docs/articles/01-tutorial_files/figure-html/d_plot-1.png
diff --git a/docs/articles/tutorial_files/figure-html/f3_plot-1.png b/docs/articles/01-tutorial_files/figure-html/f3_plot-1.png
similarity index 100%
rename from docs/articles/tutorial_files/figure-html/f3_plot-1.png
rename to docs/articles/01-tutorial_files/figure-html/f3_plot-1.png
diff --git a/docs/articles/tutorial_files/figure-html/f4ratio_plot-1.png b/docs/articles/01-tutorial_files/figure-html/f4ratio_plot-1.png
similarity index 100%
rename from docs/articles/tutorial_files/figure-html/f4ratio_plot-1.png
rename to docs/articles/01-tutorial_files/figure-html/f4ratio_plot-1.png
diff --git a/docs/articles/qpAdm.html b/docs/articles/02-qpAdm.html
similarity index 98%
rename from docs/articles/qpAdm.html
rename to docs/articles/02-qpAdm.html
index b7b25b3..c5a830b 100644
--- a/docs/articles/qpAdm.html
+++ b/docs/articles/02-qpAdm.html
@@ -50,10 +50,10 @@
vignettes/qpAdm.Rmd
- qpAdm.Rmd
vignettes/02-qpAdm.Rmd
+ 02-qpAdm.Rmd
To make it easier to narrow down the list of all models,
admixr package contains a function qpAdm_filter()
.
This function accepts the result of the qpAdm_rotation()
@@ -386,7 +386,7 @@
Let’s now focus only on the proportions table. We will also ignore a couple of columns for brevity. Note that we are now also completely ignoring p-values because we cannot used those for model @@ -523,16 +523,16 @@
d
function generates all required intermediate config and population files, runs ADMIXTOOLS, parses its log output and returns the result as a data.frame
object with the D statistics results. It does all of this behind the scenes, without the user having to deal with low-level technical details.
Recently, a new R package called ADMIXTOOLS 2 appeared on the horizon, offering a re-implementation of several features of the original ADMIXTOOLS suite of command-line programs.
-The admixr project is not related to that initiative at all. It is not a pre-cursor to it, nor it is—the way I see it—superseeded by it. I have never used ADMIXTOOLS 2 myself, but from the looks of it it seems to offer some very interesting features for fitting complex admixture graphs (something I’m not personally interested in, which is why early efforts to implement this in admixr have been eventually given up on).
-The bottom-line is this: as long as the original ADMIXTOOLS continues to be developed and maintained, admixr remains relevant and useful and will continue to be supported. ADMIXTOOLS might have a smaller set of features than ADMIXTOOLS 2, but the features it provides are extremely stable. ADMIXTOOLS is one of the most battle-tested pieces of software in population genetics—if you’re happy with the set of features it provides and if you’re happy with admixr itself, there is no dramatic reason to move away from either of them.
+To see many more examples of admixr in action, please check out the tutorial vignette.
To see many more examples of admixr in action, please check out the tutorial vignette.
-If you want to stay updated on new admixr development, follow me on Twitter.
+Recently, a new R package called ADMIXTOOLS 2 appeared on the horizon, offering a re-implementation of several features of the original ADMIXTOOLS suite of command-line programs.
+The admixr project is not related to that initiative. It is not a pre-cursor to it, nor it is superseeded by it. I have never used ADMIXTOOLS 2 myself, but from the looks of it it seems to offer some very interesting features for fitting complex admixture graphs, which is certainly something which admixr does not do.
+The bottom-line is this: as long as the original ADMIXTOOLS continues to be developed and maintained, admixr remains relevant and useful and will continue to be supported. ADMIXTOOLS is one of the most battle-tested pieces of software in population genetics—if you’re happy with the set of features it provides and if you’re happy with admixr itself, there is no real reason to move away from either of them.