fst_files: List files used in fst_genoprob object

View source: R/fst_files.R

fst_filesR Documentation

List files used in fst_genoprob object

Description

List all of the files used in an fst_genoprob object.

Usage

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

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))

kbroman/qtl2fst documentation built on May 3, 2023, 11:12 a.m.