CalculateTcrDiversityFromSeurat: Calculate TCR diversity from a seurat object

View source: R/CoNGA.R

CalculateTcrDiversityFromSeuratR Documentation

Calculate TCR diversity from a seurat object

Description

Calculate TCR a diversity profile for each library in the data

Usage

CalculateTcrDiversityFromSeurat(
  seuratObj,
  groupField,
  order1 = 1,
  order2 = 200
)

Arguments

seuratObj

A seurat object with the following columns: TRA, TRA_V, TRB, TRB_V

groupField

The field that defines sample groups.

order1

The minimum order for calculating the generalized Simpson entropy.

order2

The maximum order for calculating the generalized Simpson entropy.

Value

A data frame with the results


bimberlabinternal/CellMembrane documentation built on Nov. 15, 2024, 9:34 p.m.