is_study_id {gwasrapidd} | R Documentation |
Is a string a GWAS Catalog study accession ID?
Description
Find which strings are valid GWAS Catalog study accession IDs (returns
TRUE
). Study accession IDs are tested against the following regular
expression: ^GCST\\d+$
.
Usage
is_study_id(str, convert_NA_to_FALSE = TRUE)
Arguments
str |
A character vector of strings. |
convert_NA_to_FALSE |
Whether to treat |
Value
A logical vector.
[Package gwasrapidd version 0.99.18 Index]