Description Usage Arguments Value Author(s) Examples
Well names can be sorted according to the leading letter or the trailing digit.
1 | sortDataFrame(df, sortByLetter = FALSE)
|
df |
A data frame with row names of the form A01, A02, B01, etc. |
sortByLetter |
If |
The data frame df
with the rows sorted.
Anthony Chiu, anthony.chiu@cruk.manchester.ac.uk
1 2 3 4 | ## Sort a subset of the KRAScounts data frame.
df <- KRAScounts[, c("Ratio", "FracAbun")]
sortDataFrame(df=df, sortByLetter=FALSE)
sortDataFrame(df=df, sortByLetter=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.