library(knitr) knitr::opts_chunk$set(warning = FALSE, message = FALSE) library(kableExtra)
library(flowCore) library(flowWorkspace) library(cytoqc)
path <- "~/remote/fh/fast/gottardo_r/mike_working/lyoplate_out/parsed" centers <- c('BIIR','CIMR','Miami','NHLBI','Stanford','UCLA','Yale')
panel <- "bcell" gslist <- sapply(centers, function(center) { message("Center: ", center) gs <- load_gs(file.path(path, center, panel)) })
cqc_data <- cqc_gs_list(gslist) #group by gates groups <- cqc_check(cqc_data, "gate") groups #vis the difference plot_diff(groups) # match reference match_result <- cqc_match(groups, ref = 1, select = c(2)) match_result cqc_fix(match_result) cqc_check(cqc_data, "gate")
groups <- cqc_check(cqc_data, "channel") groups
#summarise marker groups groups <- cqc_check(cqc_data, "marker") groups
res <- cqc_match(groups, ref = 2) res
cqc_fix(solution) cqc_check(cqc_data, "marker")
res <- cqc_match(groups, ref = 2, select = c(1)) res solution <- cqc_recommend(res, max.distance = 0.7) solution cqc_fix(solution) groups <- cqc_check(cqc_data, "marker") knit_print(summary(groups))
panel <- cf_get_panel(gs_cyto_data(cqc_data[[1]])[[1]], skip_na = TRUE) panel cqc_set_panel(cqc_data, panel, ref.col = "marker") groups <- cqc_check(cqc_data, "panel") knit_print(summary(groups))
groups <- cqc_check(cqc_data, "channel") su <- summary(groups) knit_print(su) knit_print(diff(su))
H/W
channelsres <- cqc_match(groups, ref = 4, select = c(1,2,3)) res solution <- cqc_recommend(res, max.distance = 0.6) solution cqc_fix(solution)
GatingSet
(zero-copying)gs <- merge_list_to_gs(cqc_data) gs
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.