pred_TMB: pred_TMB

Description Usage Arguments Value Examples

View source: R/TMBpred.R

Description

fit the data distribution to a mixture of Gaussian mixture

Usage

1
2
3
4
pred_TMB(x, params, WES = NULL, prior = list(mu = prior_bs$mu, sigma =
  prior_bs$sigma, lambda = prior_bs$lambda), mut.nonsil = FALSE,
  gid_nonsil_p = NULL, method = "MLE", cores = 10, span = 1,
  low = 10^(-4), high = 10^4)

Arguments

x

test mutSet object

params

A list contain result from fit

WES

test mutSet object which contain whole exome data which will be used to generate the truth.

prior

A list contain prior parameters

mut.nonsil

A boolen. If it is TRUE, the nonsilent mutation will be used for prediction

gid_nonsil_p

A vector of gid for passenger genes

method

A string which specify the method to predict the TMB

cores

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

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: 
pred_TMB(Data)

## End(Not run)

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