get_results_in_folder: Identify phenotype names from bigsnpr results in a folder.

Description Usage Arguments Value Examples

View source: R/cdbn_bigsnp2mashr.R

Description

Creates a vector of phenotype names from bigsnpr results.

Usage

1
get_results_in_folder(path = ".", pattern = "*.rds")

Arguments

path

File path to the files from bigsnpr, a character string. Defaults to the current working directory.

pattern

Pattern within the filename to match. Default is "*.rds".

Value

A vector of phenotype names.

Examples

1
2
3
4
## Not run: get_results_in_folder(path = system.file("inst/extdata",
package = "switchgrassGWAS"))
## End(Not run)
## Not run: get_results_in_folder(path = "path/to/gwas/results")

Alice-MacQueen/CDBNgenomics documentation built on Aug. 18, 2020, 4:39 p.m.