adjustTcellExTRECT: Adjust TCRA T cell fraction based on tumour purity and copy...

View source: R/adjustTcellExTRECT.R

adjustTcellExTRECTR Documentation

Adjust TCRA T cell fraction based on tumour purity and copy number

Description

Adjust TCRA T cell fraction based on tumour purity and copy number

Usage

adjustTcellExTRECT(TCRA.out, purity, TCRA.cn, trustPurity = TRUE)

Arguments

TCRA.out

Output of runTcellExTRECT

purity

Tumour purity, between 0 and 1

TCRA.cn

Tumour copynumber at TCRA locus

trustPurity

If lower CI of TCRA score > 1 - purity assume tumour copy number is wrong and instead assume 2

Value

data frame of TCRA scores with purity/copy number adjusted outputs


McGranahanLab/TcellExTRECT documentation built on Jan. 10, 2025, 11:04 p.m.