| read.cross | R Documentation |
Read QTL data from two sources, one containing genotypes and another one phenotypes.
read.cross(geno, pheno, wdir = here::here(), quiet = TRUE, ...)
geno |
Data frame or string (filename) to file containing genotype
data. For example a genetic map like |
pheno |
Data frame or string (filename) to file containing phenotype
data. For example, output from |
wdir |
Working directory. |
quiet |
Boolean flag to hide status messages. |
... |
Arguments passed on to
|
Object of cross class for QTL mapping.
Other QTL mapping functions:
qtl_perm_test(),
qtl_scone()
data(father_riparia)
data(ionomics)
ionomics_rev <- MetaPipe::replace_missing(ionomics,
excluded_columns = c(1, 2),
replace_na = TRUE)
ionomics_normalised <-
MetaPipe::assess_normality(ionomics_rev,
excluded_columns = c(1, 2),
out_prefix = "ionomics",
transf_vals = c(2, exp(1)),
show_stats = FALSE)
x_data <- MetaPipe::read.cross(father_riparia,
ionomics_normalised$norm,
genotypes = c("nn", "np", "--"))
# Clean up example outputs
MetaPipe:::tidy_up(c("HIST_", "ionomics_"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.