Visualising the CI using barplot

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

Examples

## Loading example data
# NOT RUN { library(scDC) data("sim") 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")) # }