read_var_obj: Read in a variant file stored as an rds object.

Description Usage Arguments Value See Also Examples

Description

read_var_obj reads in a variant file if it has already been stored as a single R object. It is basically a wrapper around readRDS, but it also wraps the object around dplyr's tbl_df class.

Usage

1
read_var_obj(fname)

Arguments

fname

The full file path to the variant object.

Value

The variant file as a data frame with dplyr's tbl_df class.

See Also

readRDS, tbl_df for more details.

Examples

1
2
3
4
5
## Not run: 
full_path <- "~/Desktop/Fam1_merged_collab.rds"
DF <- read_var_obj(file.path(full_path))

## End(Not run)

bahlolab/varpr documentation built on May 11, 2019, 5:26 p.m.