compute_results: Collate computation results

Description Usage Arguments Value Examples

View source: R/calculate.R

Description

Collate computation results

Usage

1
compute_results(results, hypothesis)

Arguments

results

output of compute_glmm or compute_lmer

hypothesis

character: hypothesis to test

Value

tibble: results

Examples

1
2
3
4
5
6
7
8
9
flow_item <- import_fcs_path(system.file("extdata", "fcs", "KatJanin", package = "WebCytoMetry"))
cluster <- do_cluster(flow_item, flow_item$panel$antigen)
xprc_info <- collate_expressions(flow_item, cluster$sce)

glmm_list <- compute_glmm(xprc_info, "meta6", "n ~ strain + offset(logTotal)")
lmer_list <- compute_lmer(xprc_info, "meta6", "median ~ strain + (1|strain)")

glmm_data <- compute_results(glmm_list, "strainE7=0")
lmer_data <- compute_results(lmer_list, "strainE7=0")

AhmedMehdiLab/WebCytoMetry documentation built on Feb. 20, 2022, 12:34 a.m.