powered by
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)
A data.frame with matching id index
A data.frame to be linked with the ids
A vector of ids to be linked in mtch.data
A logical value whether to include warnings with results
data(clinf) data(omicdat) mtx.clms <- colnames(omicdat[[1]]) id_index <- get_id_index(clinf,mtx.clms)
Run the code above in your browser using DataLab