Description Usage Arguments Value Examples
assignColDataColumn
Assign a new column directly to the colData slot of a SummarizedExperiment.
1 | assignColDataColumn(SE, colname, values)
|
SE |
A |
colname |
The name of the column to assign |
values |
The values to assign to the col |
The SE
object with the new column in the objects colData
slot.
1 2 | SE <- SummarizedExperiment(matrix(rnorm(100), 10, 10))
updatedSE <- assignColDataColumn(SE, 'test', rep(1, 10))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.