Cell types per cluster
Source:R/AllGenerics.R
, R/cellTypesPerCluster-methods.R
cellTypesPerCluster.Rd
Cell types per cluster
Usage
cellTypesPerCluster(object, ...)
# S4 method for KnownMarkers
cellTypesPerCluster(object, min = 1L, max = Inf)
Arguments
- object
Object.
- min, max
integer(1)
. Minimum or maximum number of marker genes per cluster.- ...
Additional arguments.
Examples
data(KnownMarkers, package = "AcidTest")
## KnownMarkers ====
object <- KnownMarkers
x <- cellTypesPerCluster(object)
print(x)
#> DataFrame with 2 rows and 6 columns
#> cluster cellType name geneId
#> <factor> <factor> <character> <character>
#> 1 1 Macrophage IL1B ENSG00000125538
#> 2 2 Dendritic Cell HLA-DQB1, HLA-DRB1, .. ENSG00000179344, ENS..
#> geneName n
#> <character> <integer>
#> 1 IL1B 1
#> 2 HLA-DQB1, HLA-DRB1, .. 4