Skip to content

Use more methods to identify highly expressed genes

Shao, Xin edited this page Jan 8, 2023 · 1 revision

[1] Default method

Set use_method 1 to compare with every other cluster. Besides, users can set comp_cluster, it represent the number of clusters to compare. Default is to compare all other cluster for each cluster. Set it between 1 and length of unique clusters. More marker genes will be obtained for smaller comp_cluster.

# The most strict condition to identify marker genes
obj <- findmarkergene(object = obj, species = "Mouse", marker = cellmatch,tissue = "Kidney", use_method = "1")
# Other conditions to identify marker genes
obj <- findmarkergene(object = obj,species = "Mouse", marker = cellmatch, tissue = "Kidney", use_method = "1", comp_cluster = 1)

[2] Seurat method

Set use_method 2 to compare with other clusters together like the strategy in Seurat

# The most loose condition to identify marker genes
obj <- findmarkergene(object = obj, species = "Mouse", marker = cellmatch, tissue = "Kidney", use_method = "2")