Description Usage Arguments Author(s) References See Also Examples
This function calculates distIUPAC
based distances
within one population (x: receiver; x: donor) along sliding window.
1 2 3 4 |
dna |
|
x.pos |
population X positions [default: NULL]
take all sequences from |
x.name |
population X name [default: "x"] |
chr.name |
chromosome name [default: "chr"] |
wlen |
sliding windows length [default: 25000] |
wjump |
sliding windows jump [default: 25000] |
start.by |
optional start position [default: 1] |
end.by |
optional end position [default: NULL] |
wtype |
sliding windows type to use |
dist |
distance to use [default: IUPAC] or choose one model as in dist.dna [default: "IUPAC"] |
global.deletion |
a logical indicating whether to delete the sites with missing data in a global [default: TRUE] or pairwise way [FALSE] |
threads |
number of parallel threads [default: 1] |
ncores |
number of parallel cores to process pairwise distance calculation [default: 1] |
pB |
specifies if progress should be shown as a progress bar [default: FALSE] |
Kristian K Ullrich
Paradis, E., & Schliep, K. (2018). ape 5.0: an environment for modern phylogenetics and evolutionary analyses in R. Bioinformatics, 35(3), 526-528.
1 2 3 4 5 | data("MySequences", package = "distIUPAC")
CAS.pos<-5:34
##multiple threads to process
CAS.xStats<-xStats(MySequences, x.pos=CAS.pos, x.name="CAS", threads=2)
CAS.xStats
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.