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

Description Usage Arguments Value Examples

View source: R/pvdiv_bigsnp2mashr.R

Description

Creates a vector of phenotype names from bigsnpr results.

Usage

1
pvdiv_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: gwas_results_in_folder(path = system.file("inst/extdata",
package = "switchgrassGWAS"))
## End(Not run)
## Not run: gwas_results_in_folder(path = "path/to/gwas/results")

Alice-MacQueen/switchgrassGWAS documentation built on Jan. 23, 2022, 7:55 p.m.