R/MatchOSlabel.R

Defines functions MatchOSlabel

Documented in MatchOSlabel

#' Match the OSid (Bioproject id) to a vector of
#' @param OSid A vector of query ids
#' @param OSlabels A vector with label information named with the corresponding ids
#' @return Returns a vector of labels of the queried ids
#' @author Carlus Deneke
MatchOSlabel <- function(OSid,OSlabels) {
  OSlabels[match(OSid,names(OSlabels))]
}
crarlus/paprbag documentation built on May 14, 2019, 11:31 a.m.