cqc_recommend: Find solution to resolve the discrepancy discovered by...

Description Usage Arguments Value Examples

View source: R/cqc_recommend.R

Description

It tries to find the aproximate match(based on 'agrep') between the target and reference as well as the extra redundunt items that can be removed.

Usage

1
2
## S3 method for class 'cqc_match_result'
cqc_recommend(x, max.distance = 0.1, partial = TRUE, ...)

Arguments

x

A CQC object of some kind. See vignettes.

max.distance

– Maximum distance allowed for a match. This is passed to the max.distance argument in agrep.

partial

whether to do the partial sub string matching before the approximate string matching

...

additional arguments not for the user.

Value

a table (with 'from' and 'to' columns) represents the itemized fix recommendation. When 'to' is 'NA', it means the entry is redundunt and can be removed

Examples

1
2
3
4
## Not run: 
solution <- cqc_recommend(groups, select = c(1, 4))

## End(Not run)

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