Find the column of mtch.data with the most rows containing an element of ids
find_id_clm(mtch.data, ids)
mtch.data
: A data.frameids
: A vector of row ids to matchA vector of column names with the most matches.
data(omicann) data(omicdat) lsn.data <- omicann[[1]] mtx.rows <- rownames(omicdat[[1]]) test <- find_id_clm(lsn.data,mtx.rows)
Useful links