Pure. Takes the file as a single string, the way biohttp::get_text()
returns it.
Value
A tibble of gene, hgnc, disease, mondo, moi,
classification, sop, panel, date, and source_url, one row per
curation. A gene appears once per disease it has been curated against.
NULL when the file is empty or carries no header.
Examples
text <- paste(
'"CLINGEN GENE DISEASE VALIDITY CURATIONS","",""',
'"+++","+++","+++"',
'"GENE SYMBOL","DISEASE LABEL","CLASSIFICATION"',
'"+++","+++","+++"',
'"NF1","neurofibromatosis type 1","Definitive"',
sep = "\n"
)
clingen_parse_validity(text)
#> # A tibble: 1 × 10
#> gene hgnc disease mondo moi classification sop panel date source_url
#> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr> <chr>
#> 1 NF1 NA neurofibr… NA NA Definitive NA NA NA NA