Description Usage Arguments Value Author(s) See Also Examples
Extract subset of columns from a data frame or a list of data frames. This function outputs a data frame which set of rows is a product of merging according to mergeOp of the imput data frame row set with a given set of names (subset) ordred either by the original row set or by a a subset parameter according to orderBySubset flag. In case the merging operation produces the rows which are not in an original data frame, the new rows are filled with value from na.value parameter.
1 2 3 4 5 6 | ## Static method (use this):
## Subset$byRowNames(frameData, subset, orderBySubset=TRUE, mergeOp=intersect, na.value="", verbose=FALSE, ...)
## Don't use the below:
## S3 method for class 'Subset'
byRowNames(static, frameData, subset, orderBySubset=TRUE, mergeOp=intersect, na.value="", verbose=FALSE, ...)
|
frameData |
Input |
subset |
|
orderBySubset |
Determines if the resulting data frame(s) rows will be ordered by subset ( |
mergeOp |
The merging operation to be performed on row names. Default in 'intersect. |
na.value |
The value which should be used to field the empty rows in the output data frame(s). Default is "". |
verbose |
If |
... |
Not used |
A data.frame
or list of data frames which row set is a product of
row merging on a subset according to the mergeOp.
Alex Lisovich, Roger Day
For more information see Subset
.
1 2 3 4 5 | proteins<-examples$jointIdMap_corr$primaryIDs();
msms.subset<-Subset$byRowNames(examples$msmsExperimentSet,proteins,orderBySubset=TRUE);
dim(examples$msmsExperimentSet);
dim(msms.subset);
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.