fst_path: Path used in fst_genoprob object

Description Usage Arguments Value See Also Examples

View source: R/fst_path.R

Description

Get the path used in an fst_genoprob object.

Usage

1
fst_path(object)

Arguments

object

An object of class "fst_genoprob" as created by fst_genoprob().

Value

Character string with path (and initial file stem) for files used in the input object.

See Also

fst_files(), replace_path()

Examples

1
2
3
4
5
6
7
8
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)

kbroman/qtl2fst documentation built on July 18, 2019, 3:06 a.m.