plotRawdata | R Documentation |
Display the sequence data, such as the data generated by simX. The horizontal axis represents the sampling sites, and the vertical axis represents the sequence values containing only 0, 1 and 2.
plotRawdata(location, X, color = NULL, pch = 16, cex = 0.9)
location |
a numeric vector defining the sampling sites of the sequence data. |
X |
a matrix specifying the sequence data, with the number of rows equal to the number of samples. |
color |
A specification for the default plotting color. See graphical parameters ( |
pch |
Either an integer specifying a symbol or a single character to be used as the default in plotting points. See graphical parameters ( |
cex |
A numerical value giving the amount by which plotting text and symbols should be magnified relative to the default. See graphical parameters ( |
show the sequence data.
See Also as simX
, SNPgvf
.
library(FunctanSNP) n <- 20 m <- 50 simdata <- simX(n, m, seed = 1, d.ratio = 0) X <- simdata$X location <- simdata$location plotRawdata(location, X = X[1:2, ])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.