Learn R Programming

IdMappingRetrieval (version 1.20.0)

subsetByColumn: Extract subset of rows from a data frame or a list of data frames by intersecting on a particular column

Description

This function outputs a data frame which set of rows is a product of intersecting on a particular column of the imput data frame(s) rows with a given set of names (subset).

Usage

subsetByColumn(frameData, subset, column, verbose = FALSE)

Arguments

frameData
input data frame or a list of data frames.
subset
character vector of names partially intersecting with given data frame column and defining the set on which merging is to be performed.
column
The column on which the intersection is to be performed.
verbose
if TRUE enables diagnostic messages.

Value

data frame or list of data frame which column set is a product of intersecting of a particular column with a (partially intersecting) subset.

Examples

Run this code
## Not run: 
# commonProteins<-subsetByRow(experimentSet,proteins,column=1);
# ## End(Not run)

Run the code above in your browser using DataLab