Description Usage Arguments Author(s) Examples
View source: R/bam2consensus.R
This function calculates distIUPAC
based distances
within one population (x: receiver; x: donor) along sliding window.
1 2 3 4 |
chr.name |
chromosome name [default: NULL] |
wlen |
sliding windows length [default: 100000] |
wjump |
sliding windows jump [default: 100000] |
start.by |
optional start position [default: NULL] |
end.by |
optional end position [default: NULL] |
wtype |
sliding windows type to use |
dist |
distance to use |
global.deletion |
a logical indicating whether to delete the sites with missing data in a global [TRUE] or pairwise way [FALSE] |
threads |
number of parallel threads to process sliding windows |
ncores |
number of parallel cores to process pairwise distance calculation [default: 1] see rcpp_distIUPAC |
pB |
specifies if progress should be shown as a progress bar |
pop.list |
population list |
pop.names |
population names [default: NULL] |
Kristian K Ullrich
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.