find_id_clm function

Find the column of mtch.data with the most rows containing an element of ids

Find the column of mtch.data with the most rows containing an element of ids

find_id_clm(mtch.data, ids)

Arguments

  • mtch.data: A data.frame
  • ids: A vector of row ids to match

Returns

A vector of column names with the most matches.

Examples

data(omicann) data(omicdat) lsn.data <- omicann[[1]] mtx.rows <- rownames(omicdat[[1]]) test <- find_id_clm(lsn.data,mtx.rows)