getGenes {dittoSeq} | R Documentation |
Returns the names of all genes of a target object.
getGenes(object, assay = .default_assay(object))
object |
A target Seurat or SingleCellExperiment object |
assay |
single string or integer that sets which set of seq data inside the object to check. |
A string vector, returns the names of all genes of the object
for the requested assay
.
Daniel Bunis
isGene
for returning all genes in an object
gene
for obtaining the expression data of genes
example(importDittoBulk, echo = FALSE) getGenes(object = myRNA, assay = "counts") # To see all genes of an object for the default assay that dittoSeq would use # leave out the assay input getGenes(myRNA) # Seurat # pbmc <- Seurat::pbmc_small # # To see all genes of an object of a particular assay # getGenes(pbmc, assay = "RNA")