compareTMBdistribution: Compare TMB distribution in responders and nonresponders

Description Usage Arguments Value Author(s) Examples

View source: R/compareTMBdistributions.R

Description

This function generates applies the unpaired Mann-Whitney test to compare the distribution of TMB values between immunotherapy responders and nonresponders.

Usage

1
compareTMBdistribution(dataset, TMB)

Arguments

dataset

a data.frame object with the following fields: patient identifier, numeric TMB value and response to immunotherapy, expressed as "responders" or "nonresponders"

TMB

name of the data.frame column containing TMB values

Value

Returns the statistics from Wilcoxon test

Author(s)

Laura Fancello

Examples

1
2
3
4
5
6
7
8
## Compare TMB distribution between immunotherapy responders and nonresponders
## using the unpaired Mann-Whitney test

# Read TMB values and response to immunotherapy
data(Hellman_SimulatedFM1Panel_WES)

# Compare TMB distribtions by Wilcoxon test
compareTMBdistribution(dataset = Hellman_SimulatedFM1Panel_WES, TMB = "WES.NumMuts")

acc-bioinfo/TMBleR documentation built on Dec. 18, 2021, 10:21 p.m.