Learn R Programming

BEAMR (version 1.1.0)

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

Description

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

Usage

find_id_clm(mtch.data, ids)

Value

A vector of column names with the most matches.

Arguments

mtch.data

A data.frame

ids

A vector of row ids to match

Examples

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

Run the code above in your browser using DataLab