fitGLM.RdVisualising the CI using barplot
fitGLM(res, condition, subject_effect = TRUE, pairwise = TRUE, fixed_only = FALSE, verbose = TRUE)
| res | results from |
|---|---|
| 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. |
return GLM results
## 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")) # }