subsetByColumn {IdMappingRetrieval}R Documentation

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.

Author(s)

Roger Day, Alex Lisovich

Examples

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

## End(Not run)

[Package IdMappingRetrieval version 1.28.0 Index]