Description Usage Arguments Details See Also
Sort data frame by columns allowing for different block of rows.
1 | sort.data.frame.by.index(data, idx, col.names=NULL, decreasing=TRUE, rev.colnames=TRUE)
|
data |
A data frame to be sorted, e.g. rows are samples and columns are genes. |
idx |
Block indicator, e.g. a vector of cluster IDs of samples in |
col.names |
Columns specified by names to be sorted in |
decreasing |
If TRUE sort |
rev.colnames |
If TRUE reverse column names before sorting |
See the example of oncoprinter
for more info.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.