View source: R/mutation_types.R
mutation_types_identify | R Documentation |
Looks at variant consequence terms and guesses what mutation dictionary was used. SO and PAVE dictionaries overlap, meaning an observed set of terms can perfectly match both ontologies. If this happens, we assume they are SO terms.
mutation_types_identify(
mutation_types,
split_on_ampersand = TRUE,
verbose = TRUE,
ignore_missing = FALSE
)
mutation_types |
mutation types to test (character) |
split_on_ampersand |
split mutation types in a single string separated by ampersand (&) into 2 distinct mutation type columns (flag) |
verbose |
verbose (flag) |
ignore_missing |
should we ignore missing (NA) or empty (”) mutation_types when identifying a classification scheme (flag) |
one of c('SO', 'MAF', 'UNKNOWN'). Will return 'UNKNOWN' unless ALL mutation types fit with one of the supported dictionaries
mutation_types_identify(c('bob', 'billy', 'missense_variant'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.