checkSubset {strvalidator}R Documentation

Check Subset

Description

Check the result of subsetting

Usage

checkSubset(
  data,
  ref,
  console = TRUE,
  ignore.case = TRUE,
  word = FALSE,
  exact = FALSE,
  debug = FALSE
)

Arguments

data

a data frame in GeneMapper format containing column 'Sample.Name'.

ref

a data frame in GeneMapper format containing column 'Sample.Name', OR an atomic vector e.g. a single sample name string.

console

logical, if TRUE result is printed to R console, if FALSE a string is returned.

ignore.case

logical, if TRUE case insensitive matching is used.

word

logical, if TRUE only word matching (regex).

exact

logical, if TRUE only exact match.

debug

logical indicating printing debug information.

Details

Check if ref and sample names are unique for subsetting. Prints the result to the R-prompt.

See Also

grep


[Package strvalidator version 2.4.1 Index]