Creates a vector of phenotype names from bigsnpr results.

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

if (FALSE) gwas_results_in_folder(path = system.file("inst/extdata",
package = "switchgrassGWAS"))
if (FALSE) gwas_results_in_folder(path = "path/to/gwas/results")