Description Usage Arguments Value Examples
Set whether a SingleCellExperiment object should be treated as bulk versus single-cell by dittoSeq
1 2 3 4 |
object |
A target SingleCellExperiment object |
set |
Logical, whether the object should be considered as bulk (TRUE) or not (FALSE) |
A SingleCellExperiment
object with "bulk" internal metadata set to set
1 2 3 4 5 6 7 8 9 10 11 12 13 | example(importDittoBulk, echo = FALSE)
myRNA
isBulk(myRNA)
scRNA <- setBulk(myRNA, FALSE)
isBulk(scRNA)
# Now, if we make a heatmap with this data, we will see that single-cell
# defaults (ordering by the first 'annot.by' & cell names not shown) are used.
dittoHeatmap(scRNA, getGenes(scRNA)[1:30],
annot.by = c("clustering", "groups"),
main = "isBulk(object) == FALSE")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.