Hiearchical removal of MAF entries

Description

Remove MAF entries with the same gene/sample in an ordered fashion such that the most deleterious are retained

Usage

1
waterfall_hierarchyTRV(x, file_type, variant_class_order)

Arguments

x

a data frame in long format with columns sample, gene, trv_type

file_type

The type of file to act on one of 'MAF", "MGI", "Custom"

variant_class_order

character vector giving the hierarchical order of mutation types to plot

Value

a data frame with multiple mutations in the same sample/gene collapsed on the most deleterious

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.