fitGLM: fitGLM

Description Usage Arguments Value Author(s) Examples

View source: R/fitGLM.R

Description

Visualising the CI using barplot

Usage

1
2
fitGLM(res, condition, subject_effect = TRUE, pairwise = TRUE,
  fixed_only = FALSE, verbose = TRUE)

Arguments

res

results from scDC_noClustering, scDC_clustering function

condition

a vector indicate the condition associate the results

subject_effect

A logical input for whether fit the subject effect

pairwise

A logical input for whether the subject in different condition are paired

fixed_only

A logical input for whether only fiftting the fixed effect GLM model.

verbose

A logical input for whether print the progress.

Value

return GLM results

Author(s)

Yingxin Lin

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## Loading example data

## Not run: 
data("sim", package = "scdney")

cellTypes = sim$sim_cellTypes
subject = sim$sim_subject
res_scDC = scDC_noClustering(cellTypes, subject,
calCI = TRUE, calCI_method = c("BCa", "percentile"))
barplotCI(res_scDC, c("cond1","cond1","cond2","cond2"))


## End(Not run)

SydneyBioX/scdney documentation built on Aug. 22, 2019, 10:55 a.m.