Rdocumentation
powered by
Learn R Programming
GenVisR (version 1.0.4)
waterfall_sampSort: sort samples in an internal waterfall file.
Description
perform a hiearchial sort on samples based on the presence of mutations in an ordered list of genes if a sample order is unspecified.
Usage
waterfall_sampSort(x, sampOrder = NULL)
Arguments
x
a data frame in long format with column names "sample", "gene", "trv_type"
sampOrder
Character vector specifying the order of samples to plot.
Value
a vector of samples in a sorted order