View source: R/create.mppData.R
create.mppData | R Documentation |
This function combines all raw data sources in a single data object of class
mppData
.
create.mppData(
geno.off = NULL,
geno.par = NULL,
map = NULL,
pheno = NULL,
cross.ind = NULL,
par.per.cross = NULL
)
geno.off |
|
geno.par |
|
map |
Three columns |
pheno |
|
cross.ind |
|
par.per.cross |
Three columns |
a list
of class mppData
which contains the following elements
geno.off |
|
geno.par |
|
pheno |
|
map |
|
cross.ind |
Cross indicator. |
par.per.cross |
|
The list
also contain other arguments that will be filled later in
the data processing.
Vincent Garin
data(USNAM_geno)
data(USNAM_map)
data(USNAM_pheno)
geno.off <- USNAM_geno[7:506, ]
geno.par <- USNAM_geno[1:6, ]
map <- USNAM_map
pheno <- USNAM_pheno
cross.ind <- substr(rownames(pheno), 1, 4)
par.per.cross <- cbind(unique(cross.ind), rep("B73", 5),
rownames(geno.par)[2:6])
mppData <- create.mppData(geno.off = geno.off, geno.par = geno.par,
map = map, pheno = pheno, cross.ind = cross.ind,
par.per.cross = par.per.cross)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.