waterfall_hierarchyTRV {GenVisR} | R Documentation |
Remove MAF entries with the same gene/sample in an ordered fashion such that the most deleterious are retained
waterfall_hierarchyTRV(x, file_type, variant_class_order)
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 |
a data frame with multiple mutations in the same sample/gene collapsed on the most deleterious