Description Usage Arguments Value Author(s) References See Also Examples
Plotting function for objects of class adsig
.
1 2 |
x |
object of class |
ind |
character giving ID of a single individual to plot. |
popA |
(optional) name of ancestral population 1. |
popB |
(optional) name of ancestral population 2. |
xlab |
(optional) character string for x axis label. |
ylab |
(optional) character string for y axis label. |
ylim |
(optional) vector giving plotting range for y axis. |
main |
(optional) character string for title. |
Produces figure.
Jean Sanderson
Sanderson J, H Sudoyo, TM Karafet, MF Hammer and MP Cox. 2015. Reconstructing past admixture processes from local genomic ancestry using wavelet transformation. Genetics 200:469-481. https://doi.org/10.1534/genetics.115.176842
1 2 3 4 5 6 7 8 | data(admix)
# Generate the admixture signal with windowing
AdexPCA2 <- signal(admix$data,popA="popA",popB="popB",populations=admix$populations,
tol=0.001,n.signal=1000,window.size=0.01)
# Plot resulting admixture signal for one individual
plotsignal(AdexPCA2,ind="AD00001",popA=AdexPCA2$popA,popB=AdexPCA2$popB)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.