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

View source: R/cqc_recommend.R

cqc_recommendR Documentation

Find solution to resolve the discrepancy discovered by match_reference

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

## 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

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

## End(Not run)

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