Get samples matching the given subjectsSource:
Get samples matching the given subjects
getSampleFromSubject( patients, samples, clinical = NULL, rm.NA = TRUE, match = NULL, showMatch = FALSE )
Character or list of characters: subject identifiers
Character: sample identifiers
Data frame or matrix: clinical dataset
Boolean: remove missing values?
Integer: vector of subject index with the sample identifiers as name to save time (optional)
Boolean: show matching subject index?
Names of the matching samples (if
showMatch = TRUE,
a character with the subjects as values and their respective samples as names