fst_path | R Documentation |
Get the path used in an fst_genoprob object.
fst_path(object)
object |
An object of class |
Character string with path (and initial file stem) for files used in the input object
.
fst_files()
, replace_path()
library(qtl2)
grav2 <- read_cross2(system.file("extdata", "grav2.zip", package="qtl2"))
probs <- calc_genoprob(grav2, error_prob=0.002)
dir <- tempdir()
fprobs <- fst_genoprob(probs, "grav2", dir, overwrite=TRUE)
fst_path(fprobs)
fst_files(fprobs)
# clean up: remove all the files we created
unlink(fst_files(fprobs))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.