calcOverlap: calculate the clonotype overlaps in each group

Description Usage Arguments Value

View source: R/preprocess.R

Description

calculate the clonotype overlaps in each group

Usage

1
2
calcOverlap(btcr, scrna, groupby, splitby = NULL,
  id = c("final_clonotype_id", "clonotype_id", "clonotype_newid"))

Arguments

btcr

A BTCR object.

scrna

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

groupby

Overlaps groups. The meta.data column used to group cells/barcodes, always be clusters.

splitby

Sample groups. Overlaps won't be calculated cross groups. The meta.data column used to group cells/barcodes, always be sample groups.

id

Which clonotype id used to calculate overlaps.

Value

A BTCR object with "overlaps" and "id" attributes.


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