getTMBs: getTMBs

Description Usage Arguments Value Examples

View source: R/TMBpred.R

Description

predict TMB stat function

Usage

1
2
getTMBs(y, offset, phi, cores, zero_p = 0, prior = NULL, span = 10,
  low = 10^(-4), high = 10^4)

Arguments

y

A matrix for observed mutation count

offset

offset

phi

gene dispersion

cores

A number which specifiy the nubmer of core to use for parallel computing.

zero_p

gene zero fraction

prior

prior parameters. If it is NULL, no prior will be used.

span

The extension of low and high limit. High = high * span and low = low/span

low

The lower limit.

high

The higher limit.

Value

A data.frame contain the result.

Examples

1
2
3
4
## Not run: 
getTMBs(Data)

## End(Not run)

bioinform/ecTMB documentation built on Aug. 29, 2021, 6:17 p.m.