Rdocumentation
powered by
Learn R Programming
GenVisR (version 1.0.4)
waterfall_hierarchyTRV: 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
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