waterfall_sampSort {GenVisR}R Documentation

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


[Package GenVisR version 1.8.1 Index]