Description Usage Arguments Value See Also Examples
Take scores for a specific sample and a specific assay and put them into rowData.
1 | swapScores(object, outputColumn = "score", inputAssay, sample)
|
object |
SummarizedExperiment: CAGE-data |
outputColumn |
character: Column in rowData to to hold swapped in scores. |
inputAssay |
character: Name of assay to take scores from. |
sample |
character: Name of sample to take scores from. |
SummarizedExperiment with sample scores from inputAssay in rowRata.
Other Swapping functions:
swapRanges()
1 2 3 4 5 6 | data(exampleCTSSs)
sample_names <- colnames(exampleCTSSs)
# Replace scores with values from the first sample:
x <- swapScores(exampleCTSSs, inputAssay='counts', sample=sample_names[1])
rowRanges(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.