iDEA.fit: Integrative DE and GSEA based summary statistics

View source: R/iDEASummary.R

iDEA.fitR Documentation

Integrative DE and GSEA based summary statistics

Description

Integrative DE and GSEA into a unfied framwork. The parameters of the model were infered via EM-MCMC algorithm.

Usage

iDEA.fit(
  object,
  fit_noGS = FALSE,
  init_beta = NULL,
  init_tau = c(-2, 0.5),
  min_degene = 5,
  em_iter = 15,
  mcmc_iter = 1000,
  fit.tol = 1e-05,
  modelVariant = F,
  verbose = TRUE,
  ...
)

Arguments

object

iDEA object

fit_noGS

Bool variable to indicate whether fitting the model without the annoation

init_beta

Initial value for gene effect size, beta in MCMC sampling

init_tau

Initial value for annotations, including the intercept in EM procedure, default is c(-2,0.5).

min_degene

The threshold for the number of detected DE genes. For some of extremely cases, the method does not work when the number of detected DE genes is 0.

em_iter

Maximum iteration for EM algorithm, default is 15

mcmc_iter

Maximum iteration for MCMC algorithm, default is 1000

fit.tol

Tol for fitting the model, default is 1e-5.

modelVariant

Model option to run, boolean variable, if FALSE, runing the main iDEA mode, which models on z score statistics. if TRUE, runing iDEA variant model which models on beta effect size.

verbose

Print the progresses

...

Ignored

Value

Returns a iDEA object with EM-MCMC results stored in object@emmcmc.


xzhoulab/iDEA documentation built on Oct. 8, 2022, 8:54 a.m.