weights | R Documentation |
Get/Set weight matrix
weights(object, ...)
## S4 method for signature 'SummarizedExperiment'
weights(object)
weights(object) <- value
## S4 replacement method for signature 'SummarizedExperiment,matrix'
weights(object) <- value
## S4 replacement method for signature 'SummarizedExperiment,numeric'
weights(object) <- value
## S4 replacement method for signature 'SummarizedExperiment,NULL'
weights(object) <- value
object |
SummarizedExperiment |
... |
addtional params |
value |
ratio matrix (features x samples) |
weight matrix (get) or updated object (set)
file <- system.file('extdata/billing19.rnacounts.txt', package = 'autonomics')
object <- read_rnaseq_counts(file)
weights(object)[1:3, 1:2]
weights(object) <- 1
weights(object)[1:3, 1:2]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.