fst_files: List files used in fst_genoprob object

Description Usage Arguments Value See Also Examples

View source: R/fst_files.R

Description

List all of the files used in an fst_genoprob object.

Usage

1
fst_files(object)

Arguments

object

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

Value

Vector of character strings with the full paths for all of the files used for the input object.

See Also

fst_path()

Examples

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

qtl2fst documentation built on Oct. 7, 2021, 5:09 p.m.