Get_samples_to_group: To split the cells to 'group' by 'samples'

Description Usage Arguments Value Examples

View source: R/Get_Mixture.R

Description

To split the cells to 'group' by 'samples'

Usage

1
Get_samples_to_group(seurat.obj, group.list)

Arguments

seurat.obj

the seurat.obj to add group

group.list

a list including the information of the sampels

Value

seurat.obj

Examples

1
2
3
4
5
6
## Not run: 
group.list <- list('control' = c("A_L_001","A_L_002","A_L_003","A_L_004"),
                   'expr' = c("A_L_009","A_L_010","A_L_011","A_L_012","A_L_013"))
seurat.obj <- Get_group(seurat.obj,group.list)

## End(Not run)

Lian-Lab/LIANLAB documentation built on June 23, 2021, 5:37 a.m.