get_id_index {BEAMR} | R Documentation |
For each row of the data.frame main.data, find the index of the matching element in vector ids
get_id_index(mtch.data, ids, warn = TRUE)
mtch.data |
A data.frame to be linked with the ids |
ids |
A vector of ids to be linked in mtch.data |
warn |
A logical value whether to include warnings with results |
A data.frame with matching id index
data(clinf)
data(omicdat)
mtx.clms <- colnames(omicdat[[1]])
id_index <- get_id_index(clinf,mtx.clms)