Skip to contents

For each row of the data.frame main.data, find the index of the matching element in vector ids

Usage

get_id_index(mtch.data, ids, warn = TRUE)

Arguments

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

Value

A data.frame with matching id index

Examples

data(clinf)
data(omicdat)
mtx.clms <- colnames(omicdat[[1]])
id_index <- get_id_index(clinf,mtx.clms)