Description Usage Arguments Value Examples
Reads and parses an ANNOVAR file to return the amino acid change in a more
understandable way in the column named aa_mod
.
1 | parse_annovar_mutation(anno_tib)
|
anno_tib |
tibble of the ANNOVAR file |
Returns the tibble, checking if it is empty.
If the file was empty, an empty tibble is returned. A column is added
that has a simple version of the amino acid change aa_mod
.
1 2 3 4 5 6 7 8 9 | extdata_dir <- system.file("extdata", package = "KrasAlleleCna")
annovar_file <- readRDS(file.path(extdata_dir, "annovar_output_list.rds"))[[3]]
annovar_file
parsed_annovar <- parse_annovar_mutation(annovar_file)
parsed_annovar
# the new column has easy to use amino acid mutations
parsed_annovar$aa_mod
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.