Subset$byColumn {IdMappingAnalysis} | R Documentation

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

### Description

# Extract subset of rows from a data frame or a list of data frames by intersecting on a particular column. 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

    ## Static method (use this):
    ## Subset$byColumn(frameData, subset, column, verbose=FALSE, ...)

    ## Don't use the below:
    ## S3 method for class 'Subset'
    byColumn(static, 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. Default is `FALSE`.
`...` | Not used

### Value

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

### Author(s)

Alex Lisovich, Roger Day

### See Also

For more information see `Subset`.

### Examples

     commonSamples<-intersect(colnames(examples$msmsExperimentSet),
    		colnames(examples$msmsExperimentSet));
     mrna.subset<-Subset$byColNames(examples$mrnaExperimentSet,
    		commonSamples,column=1);
     mrna.subset[1:10,1:5];

[Package IdMappingAnalysis version 1.26.0 Index]