Description Usage Arguments Value Author(s) References Examples
Takes in a CSV of variants from gnomAD, as well as optional filters for annotations and flags. Returns a data frame with the variants that don't contain the filters and flags
1 2 | removeUnwantedVariants(df, unwanted_annotations = c("splice region", "synonymous", "3' UTR", "5' UTR", "downstream gene","intron", "upstream gene", "non coding transcript exon"),
unwanted_flags = c("SEGDUP", "LC LoF"))
|
df |
Data frame of the gnomAD CSV |
unwanted_annotations |
Vector containing gnomAD variant annotations that should be filtered out. |
unwanted_flags |
Vector containing gnomAD flags that should be filtered out. |
A data frame containing variants that passed the flag and variant filters
Kate Sanders
http://gnomad.broadinstitute.org
1 2 | data("MUC1_variants")
cleanVariants <- removeUnwantedVariants(MUC1_variants)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.