compute_lmer: Calculate lmer

Description Usage Arguments Value Examples

View source: R/calculate.R

Description

Calculate lmer

Usage

1
compute_lmer(xprc_info, meta, formula, min_files = 7)

Arguments

xprc_info

output of collate_expressions

meta

"metan": selected metaclustering method

formula

character: formula expression

min_files

optional: minimum files per cluster

Value

list: lmer results per cluster per channel

Examples

1
2
3
4
5
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)

lmer_list <- compute_lmer(xprc_info, "meta6", "median ~ strain + (1|strain)")

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