cqc_fix_panel: Update panel info

Description Usage Arguments Examples

View source: R/cqc_fix.R

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

1
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

1
2
3
4
5
6
## 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 Nov. 25, 2020, 11:27 p.m.