counts,AnyHermesData-method | R Documentation |
These methods access and set the counts assay in a AnyHermesData
object.
## S4 method for signature 'AnyHermesData'
counts(object, ...)
## S4 replacement method for signature 'AnyHermesData,matrix'
counts(object, ..., withDimnames = TRUE) <- value
object |
( |
... |
not used. |
withDimnames |
( |
value |
( |
The counts assay.
counts(object = AnyHermesData) <- value
:
a <- hermes_data
result <- counts(a)
class(result)
head(result)
counts(a) <- counts(a) + 100L
head(counts(a))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.