Description Usage Arguments Value Examples
Retain TCGA sample ids without the final letter designation ('A/B/C')
1 | sampleNameFilter(input, desired.len = 15)
|
input |
Matrix of expression or protein activity scores. Columns are sample names, rows are genes. Input can also just be an input vector of sample names. |
desired.len |
length to reduce strings to. Default is 15 because of TCGA naming conventions |
An identical matrix with new (shorter) column names, or a vector with the shortened names.
1 2 | sample.names <- c("TCGA-14-1825-01A", "TCGA-76-4931-01B", "TCGA-06-5418-01A")
sampleNameFilter(sample.names)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.