| rowDataToDF {scp} | R Documentation |
rowData of a QFeatures object to a
DataFrameThe methods takes the rowData of one or more given assay in a
QFeatures object and combines the data in a single DataFrame.
rowDataToDF(obj, i, vars)
obj |
A |
i |
A |
vars |
A |
Along with the reuired rowData an additional .assay variable
is created and holds the assay name from which the metadata was
taken.
A DataFrame object with the rowData row-binded over
the required assays.
## Extract the peptide length and sequence from the first 3 assays
data("scp1")
rowDataToDF(scp1, i = 1:3, c("Length", "Sequence"))