addMarker: Add missing markers.
Description
addMarker
Add missing markers to a dataset given a
kit.Usage
addMarker(data, marker, ignoreCase = FALSE, debug = FALSE)
Arguments
data
data frame or vector with sample names.
marker
vector with marker names.
ignoreCase
logical TRUE ignore case.
debug
logical indicating printing debug
information.
Details
Given a dataset or a vector with sample names the function
loops through each sample and add any missing markers.
Returns a dataframe where each sample have at least one row
per marker in the specified marker vector. Use
sortMarker
to sort the markers according to a
specified kit. Required columns are: 'Sample.Name'.