waterfall_sampSort {GenVisR} | R Documentation |
perform a hiearchial sort on samples based on the presence of mutations in an ordered list of genes if a sample order is unspecified.
waterfall_sampSort(x, sampOrder = NULL)
x |
a data frame in long format with column names "sample", "gene", "trv_type" |
sampOrder |
Character vector specifying the order of samples to plot. |
a vector of samples in a sorted order