aggregateFeaturesOverAssays | 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(object, i, fcol, name, fun, ...)
object |
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
QFeatures::aggregateFeatures
data("scp1")
scp1 <- aggregateFeaturesOverAssays(scp1,
i = 1:3,
fcol = "peptide",
name = paste0("peptides", 1:3),
fun = colMeans,
na.rm = TRUE)
scp1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.