calCloneLLR: calculate the log likelihood ratio of each clonotype,...

calCloneLLRR Documentation

calculate the log likelihood ratio of each clonotype, accounting the uncertainty of cluster label assignment

Description

calculate the log likelihood ratio of each clonotype, accounting the uncertainty of cluster label assignment

Usage

calCloneLLR(cellData, prob.mat, cloneID.x = NULL, verbose = F)

Arguments

cellData

data.table. Each line for a cell, and these columns as required: 'majorCluster'

prob.mat

matrix Lines for cells, and columns for assignment probability of the majorClusters. row names and column names are required

cloneID.x

character. If specified, it will subset the cellData using clonotype id (default: NULL)

verbose

logical. control the returned data types. (default: FALSE)

Value

a list (verbose==T) or data.table (verbose==F)


Japrin/STARTRAC documentation built on Dec. 4, 2023, 1:35 a.m.