Description Usage Arguments Details Value Author(s) See Also Examples
Calculates boxplots of genetic distances using sliding windows.
1 | slideBoxplots(DNAbin, sppVector, width, interval = 1, method = "nonCon")
|
DNAbin |
A DNA alignment of class ‘DNAbin’. |
sppVector |
A species vector (see |
width |
Width of windows. |
interval |
Distance between each window in number of base pairs. Default of 1. Giving the option of |
method |
Options of |
Giving method="overall"
calculates the boxplot for the distance matrix of each window.
Giving method="interAll"
calculates boxplots for the inter- and intra-specific distances of each window, showing the result for ALL inter-specific distances.
Giving method="nonCon"
calculates boxplots for the inter- and intra-specific distances of each window, showing the result for only the nearest-conspecific distances for each individual.
A list with
treeMeasures |
Logical. Tree measures calculated? Always FALSE. |
distMeasures |
Logical. Distance measures calculated? Always FALSE. |
bp_out |
If |
bp_InterSpp_out |
If |
bp_IntraSpp_out |
If |
bp_range_out |
range of y-axis values. |
pos_out |
x-axis values. |
boxplot_out |
Logical. Boxplots calculated? Always TRUE. |
method |
The method used for calculating boxplots. |
Samuel Brown <s_d_j_brown@hotmail.com>
boxplot
, plot.slidWin
, slideAnalyses
, slidingWindow
.
1 2 3 4 5 6 7 8 9 10 11 12 | data(dolomedes)
doloDist <- dist.dna(dolomedes)
doloSpp <- substr(dimnames(dolomedes)[[1]], 1, 5)
doloNonCon <- slideBoxplots(dolomedes, doloSpp, 200, interval=10)
plot(doloNonCon)
doloOverall <- slideBoxplots(dolomedes, doloSpp, 200, interval=10, method="overall")
plot(doloOverall)
doloInterall <- slideBoxplots(dolomedes, doloSpp, 200, interval=10, method="interAll")
plot(doloInterall)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.