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. 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).
## 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, ...)
frameData |
Input |
subset |
|
column |
The column on which the intersection is to be performed. |
verbose |
|
... |
Not used |
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.
Alex Lisovich, Roger Day
For more information see Subset
.
commonSamples<-intersect(colnames(examples$msmsExperimentSet), colnames(examples$msmsExperimentSet)); mrna.subset<-Subset$byColNames(examples$mrnaExperimentSet, commonSamples,column=1); mrna.subset[1:10,1:5];