Description Usage Arguments Author(s) Examples
The qtl.res data frame should contain 5 columns. Each row of this data frame represents a QTL. The 1st column is the ID of a Bin representing a QTL. The 2nd column is the chromosome ID of each QTL. The 3rd column is the start coordinate of a QTL. The 4th column is the end coordinate of a QTL. The 5th column is the negative Log P value of QTL scanning.
1 2 |
qtl.res |
A data frame of QTL scanning result. |
y.bottom |
A numeric number indicating the min y coordinate range. |
y.top |
A numeric number used to alter the max y coordinate range. |
cols |
Colours used to indicate different chromosome. |
ylab |
Y axis label. |
xlab |
X axis label. |
... |
parameters passed to plot. |
Wen Yao
1 2 3 4 5 6 7 8 |
ril.phe <- read.csv(system.file("examples/ril.phe.csv", package="binQTL"), as.is=TRUE)
dim(ril.phe)
ril.geno <- read.csv(system.file("examples/ril.geno.csv", package="binQTL"), as.is=TRUE)
dim(ril.geno)
qtl.res <- aovQTL(phenotype = ril.phe, genotype = ril.geno)
plotQTL(qtl.res[, c(1:4, 6)], main="ANOVA", cex.axis=0.6, ylab=expression(-log[10](p)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.