Description Usage Arguments Author(s) Examples
Each row of the genotype data frame represents a Bin. The first column is the ID of each Bin. The second column is the chromosome ID of each Bin. The 3rd column is the start coordinate of each Bin. The 4th column is the end coordinate of each Bin. Each of the rest columns gives the genotype of each accession at different bins. The names of the rest columns can be any characters specified by the User.
1 | plotBinmap(genotype="", cols=c("red", "blue", "grey40"), ...)
|
genotype |
A data frame representing the genotype of a population. |
cols |
Colours used to indicate different genotypes. |
... |
parameters passed to plot. |
Wen Yao
1 2 3 4 5 6 7 8 9 |
ril.geno <- read.csv(system.file("examples/ril.geno.csv", package="binQTL"), as.is=TRUE)
dim(ril.geno)
ril.geno[1:2, 1:9]
## Not run
# par(mar = c(3, 4, 1, 1))
# plotBinmap(ril.geno, xlab="Genomic position", ylab="RILs", cex.axis=0.6)
## Not run
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.