View source: R/format_pangolin.R
format_pangolin | R Documentation |
Reformat the data for each annotated effect per row. As pangolin does not
provide information on donor or acceptor, use both for gain and loss annotations.
Effects with score = 0 are filtered out. The resulting score
represents the absolute value of the Pangolin score.
format_pangolin(variants, keep_gene_id = FALSE)
variants |
tibble with parsed
pangolin mutations from |
keep_gene_id |
Indicator whether the gene_id should be kept in the formatted data (default: FALSE). |
A tibble with splicing effects per row
pangolin_file <- system.file("extdata", "spliceai_output.pangolin.vcf", package = "splice2neo") df <- parse_pangolin(pangolin_file) format_pangolin(df)
parse_spliceai
, annotate_mut_effect
, format_spliceai
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.