mat_to_seurat: Convert matrix into a list of seurat objects based on branch...

Description Usage Arguments Value

Description

Convert matrix into a list of seurat objects based on branch assignment

Usage

1
mat_to_seurat(exp_mat, ref_meta, branch_lab, label_list)

Arguments

exp_mat

a matrix with rows being the cells and columns being the genes. There must be rownames and colnames

ref_meta

a dataframe containing information for the cells in exp_mat

branch_lab

a vector with the same length as the row number of exp_mat, containing the branch assignment of each cell

label_list

per item of returned seurat object in the return value list, cells with which labels are chosen. It should be a list

Value

a list of seurat objects of different branch assignments


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