assignStatus: assign status: clonal or not

Description Usage Arguments Details Value

View source: R/preprocess.R

Description

assign status: clonal or not

Usage

1
2
assignStatus(btcr, idcol = "clonotype_id", scrna = NULL,
  group.by = NULL)

Arguments

idcol

Column name used as the clonotype id.

scrna

The Single Cell RNAseq Seurat object corresponded to the BCR or TCR.

group.by

The meta.data column in scrna used to group the cells.

Details

"status" is used to indicate whether a cell is clonal or not, "status2" is used to indicate their groups relationship. For each clonotypes, if there are at least two cells with it, these cells would be clonals. For each clonals, if they are from different cell group, they are cross-cluster; otherwise, they are within-cluster.

Value

A new BTCR object with "status" and "status2"(if scrna and group.by provided).


xizhihui/BTCR documentation built on Dec. 23, 2021, 7:10 p.m.