| aggregateFeaturesOverAssays {scp} | R Documentation |
This function is a wrapper function around
QFeatures::aggregateFeatures.
It allows the user to provide multiple assays for which
aggregateFeatures will be applied sequentially.
aggregateFeaturesOverAssays(obj, i, fcol, name, fun, ...)
obj |
A |
i |
A |
fcol |
The feature variables for each assays |
name |
A |
fun |
A function used for quantitative feature aggregation. |
... |
Additional parameters passed the |
A QFeatures object
data("scp1")
scp1 <- aggregateFeaturesOverAssays(scp1,
i = 1:3,
fcol = "peptide",
name = paste0("peptides", 1:3),
fun = colMeans,
na.rm = TRUE)
scp1