cqc_fix: Apply the cqc_solution

Description Usage Arguments Examples

View source: R/cqc_fix.R

Description

Peform the actual fixing action (i.e update or delete)

Usage

1

Arguments

x

the cqc_solution returned by cqc_match calls

...

addiitional arguments not for the user.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
# Read in FCS files with inconsistencies
fcs_files <- list.files(system.file("extdata", "GvHD_QC", package = "cytoqc"), full.names = TRUE)
qc_cf_list <- cqc_load_fcs(fcs_files)

# Check for marker inconsitencies
groups <- cqc_check(qc_cf_list, type = "marker")

# Attempt to fix them automatically
match_result <- cqc_match(groups, ref = c("CD14 PerCP", "CD15 FITC", "CD33 APC", "CD45 PE", "FSC-Height", "SSC-Height", "Time"))

# Add a manual match that automatic matching could not find
match_result <- cqc_match_update(match_result, map = c("PTPRC PE" = "CD45 PE"))

# Apply the fix to the original cytoframes
cqc_fix(match_result)

RGLab/cytoqc documentation built on Nov. 25, 2020, 11:27 p.m.