Learn R Programming

strvalidator (version 0.1)

checkSubset: check subset

Description

checkSubset checks the result of subsetting

Usage

checkSubset(data, ref)

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.

Details

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