cqc_fix_panel: Update panel info

View source: R/cqc_fix.R

cqc_fix_panelR Documentation

Update panel info

Description

It updates either 'channel' or 'marker' info depends on the value of 'ref.col' if ref.col is set to 'channel', then 'channel' column from 'panel' is used as the reference to be matched against 'cqc_data' and 'marker' will be set according to 'panel'

Usage

cqc_fix_panel(x, ref, by, select = NULL)

Arguments

x

"cqc_check_panel" result from 'cqc_check_panel' or 'cqc_check'call

ref

the reference group id or a custom panel that is represented as tibble contains channel and marker columns (typically returned by 'cf_get_panel' )

by

the column used as the fixed anchor, either 'channel' or 'marker'

select

the groups to be updated. Default is all

Examples

## Not run: 
     res <- cqc_check(cqc_data, "panel")
     cqc_fix_panel(res, 1, "channel") #get panel info from group 1 and set markers of other groups  by using channel as reference


## End(Not run)

RGLab/cytoqc documentation built on Jan. 25, 2023, 11:05 p.m.