subset_celltype: Select Seurat object by cell type

Description Usage Arguments

Description

Select Seurat object by cell type

Usage

1
2
3
4
5
6
7
8
subset_celltype(
  x,
  top_markers = NULL,
  cluster_num = "EVT",
  select_type = "seurat_clusters",
  assay = "RNA",
  slot_data = "data"
)

Arguments

x

a Seurat object

top_markers

should be a dataframe generated by the Seurat FindMarkers gene. Otherwise, the top variable features will be selected

cluster_num

if it is 'all', then all cells will be selected


Yutong441/TBdev documentation built on Dec. 18, 2021, 8:22 p.m.