fitGLM | R Documentation |
Visualising 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
Yingxin Lin
## 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"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.