Reads files in specific formats and creates a qtlpoly.data object to be used in subsequent analyses.
read_data2(
ploidy = 6,
geno.prob,
geno.dose = NULL,
double.reduction = FALSE,
pheno,
weights = NULL,
step = 1,
verbose = TRUE
)An object of class qtlpoly.data which is a list containing the following components:
a scalar with ploidy level.
a scalar with the number of linkage groups.
a scalar with the number of individuals.
a scalar with the number of marker positions.
a scalar with the number of phenotypes.
a vector with linkage group sizes.
a vector with cumulative linkage group sizes.
a vector with number of marker positions per linkage group.
a vector with cumulative number of marker positions per linkage group.
a list with selected marker positions per linkage group.
a list with all marker positions per linkage group.
a scalar with the step size.
a data frame with phenotypes.
a list of relationship matrices for each marker position.
a list of conditional probability matrices for each marker position for genotypes.
a list of conditional probability matrices for each marker position for alleles.
a matrix of identical-by-descent shared alleles among genotypes.
a numeric value of ploidy level of the cross.
an object of class mappoly.genoprob from mappoly.
an object of class mappoly.data from mappoly.
if TRUE, double reduction genotypes are taken into account; if FALSE, no double reduction genotypes are considered.
a data frame of phenotypes (columns) with individual names (rows) identical to individual names in geno.prob and/or geno.dose object.
a data frame of phenotype weights (columns) with individual names (rows) identical to individual names in pheno object.
a numeric value of step size (in centiMorgans) where tests will be performed, e.g. 1 (default); if NULL, tests will be performed at every marker.
if TRUE (default), current progress is shown; if FALSE, no output is produced.
Guilherme da Silva Pereira, gdasilv@ncsu.edu, Gabriel de Siqueira Gesteira, gdesiqu@ncsu.edu
Pereira GS, Gemenet DC, Mollinari M, Olukolu BA, Wood JC, Mosquera V, Gruneberg WJ, Khan A, Buell CR, Yencho GC, Zeng ZB (2020) Multiple QTL mapping in autopolyploids: a random-effect model approach with application in a hexaploid sweetpotato full-sib population, Genetics 215 (3): 579-595. tools:::Rd_expr_doi("10.1534/genetics.120.303080").
maps6x, pheno6x
# \donttest{
# Estimate conditional probabilities using mappoly package
library(mappoly)
library(qtlpoly)
genoprob4x = lapply(maps4x[c(5)], calc_genoprob)
data = read_data(ploidy = 4, geno.prob = genoprob4x, pheno = pheno4x, step = 1)
# }
Run the code above in your browser using DataLab