GEX_phenotype: Assignment of cells to phenotypes based on selected markers
Description
Adds a column to a VGM[[2]] Seurat object containing cell phenotype assignments. Defaults for T and B cells are available. Marker sets are customizable as below
Returns the input Seurat object with an additional column
Arguments
seurat.object
A single seurat object / VDJ_GEX_matrix.output[[2]] object
cell.state.names
Character vector containing the cell state labels defined by the markers in cell.state.markers parameter. Example is c("NaiveCd4","MemoryCd4").
cell.state.markers
Character vector containing the gene names for each state. ; is used to use multiple markers within a single gene state. Different vector elements correspond to different states. Order must match cell.state.names containing the c("CD4+;CD44-","CD4+;IL7R+;CD44+").
default
Default is TRUE - will use predefined gene sets and cell states.