Cell types per cluster

cellTypesPerCluster(object, ...)

# S4 method for KnownMarkers
cellTypesPerCluster(object, min = 1L, max = Inf)

Arguments

object

Object.

min

integer(1). Minimum number of marker genes per cluster.

max

integer(1). Maximum number of marker genes per cluster.

...

Additional arguments.

Value

DataFrame.

Note

Updated 2020-01-30.

Examples

data(cell_type_markers_list, seurat_all_markers) ## KnownMarkers ==== markers <- KnownMarkers( markers = seurat_all_markers, known = cell_type_markers_list[["homoSapiens"]] ) x <- cellTypesPerCluster(markers) print(x)
#> DataFrame with 2 rows and 6 columns #> cluster cellType #> <factor> <factor> #> 1 1 Macrophage #> 2 2 Dendritic Cell #> name #> <character> #> 1 IL1B #> 2 HLA-DPB1, HLA-DQB1, HLA-DRB1, HLA-DRA, HLA-DPA1, HLA-DMB, HLA-DQA1 #> geneID #> <character> #> 1 ENSG00000125538 #> 2 ENSG00000215048, ENSG00000179344, ENSG00000196126, ENSG00000204287, ENSG00000168384, ENSG00000226264, ENSG00000196735 #> geneName n #> <character> <integer> #> 1 IL1B 1 #> 2 HLA-DPB1, HLA-DQB1, HLA-DRB1, HLA-DRA, HLA-DPA1, HLA-DMB, HLA-DQA1 7