modelFit: Model Fitting

Description Usage Arguments Value

View source: R/ASEP functions.R

Description

This function is used to fit the generalized linear mixed-effect model through nonparametric maximum likelihood estimation for a given gene.

Usage

1
2
3
4
5
6
modelFit(
  dat_phase,
  n_condition = "one",
  resampled_data = FALSE,
  varList = NULL
)

Arguments

dat_phase:

Psudo-phased bulk RNA-seq data of a given gene

n_condition:

a character string indicates whether to perform one condition analysis or two conditions analysis. Possible values are "one" or "two". Default is "one"

resampled_data:

a logical value indicates whether the data analyzed is obtained from resampling or not. Used only for two conditions analysis. Default is FALSE

varList:

a character string specifies fomula of covariates that users want to adjusted in the model, e.g., "'var1'+'var2'". Default is NULL

Value


Jiaxin-Fan/ASEP documentation built on Aug. 9, 2021, 6:39 a.m.