Description Usage Arguments Value Examples
Use the genetics genome browser to browse QTL mapping results
1 |
scan1output |
Genome scan output, as from |
map |
Corresponding physical map (in Mbp), as a list of
chromosomes that are each a vector of marker positions. Can
also be a data frame of SNP information, with columns |
lodcolumn |
LOD score column to plot (a numeric index, or a character string for a column name). Only one value allowed. |
min_lod |
Minimum LOD score to show; values below this are omitted. |
dir |
Optional directory to contain the results. If not provided, a temporary directory is created. |
File location (hidden).
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | library(qtl2)
recla <- read_cross2(paste0("https://raw.githubusercontent.com/rqtl/",
"qtl2data/master/DO_Recla/recla.zip"))
gmap <- insert_pseudomarkers(recla$gmap, step=0.2, stepwidth="max")
pmap <- interp_map(gmap, recla$gmap, recla$pmap)
pr <- calc_genoprob(recla, gmap, error_prob=0.002,
map_function="c-f", cores=0)
apr <- genoprob_to_alleleprob(pr)
k <- calc_kinship(apr, "loco", cores=0)
out <- scan1(apr, recla$pheno[,"HP_latency"], k, cores=0)
library(qtl2browse)
browse(out, pmap)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.