Description Usage Arguments Details Value Examples
Any feather_genoprob
object has embedded its original data and dimensions.
This resets elements ind
, chr
and mar
to the full set.
1 | feather_genoprob_restore(object)
|
object |
Object of class |
Object is unclassed and elements ind
, chr
and mar
are changed before
reseting attributes as feather_genoprob
object.
See feather_genoprob
return description for details.
Element of class feather_genoprob
.
1 2 3 4 5 6 7 8 9 10 11 | library(qtl2)
grav2 <- read_cross2(system.file("extdata", "grav2.zip", package="qtl2"))
map <- insert_pseudomarkers(grav2$gmap, step=1)
probs <- calc_genoprob(grav2, map, error_prob=0.002)
dir <- tempdir()
fprobs <- feather_genoprob(probs, "grav2", dir)
dim(fprobs)
fprobs2 <- subset(fprobs, chr=1:2)
dim(fprobs2)
fprobs5 <- feather_genoprob_restore(fprobs2)
dim(fprobs5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.