aggregate_rows {orthogene} | R Documentation |
Aggregate rows of a matrix using a grouping vector.
aggregate_rows( X, groupings, FUN = "sum", method = c("monocle3", "stats", "delayedarray"), as_sparse = TRUE, as_DelayedArray = TRUE, dropNA = TRUE, verbose = TRUE )
X |
Input matrix. |
groupings |
Gene groups of the same length as |
FUN |
Aggregation function (DEFAULT: |
method |
Aggregation method. |
as_sparse |
Convert aggregated matrix to sparse matrix. |
as_DelayedArray |
Convert aggregated matrix to DelayedArray. |
dropNA |
Drop genes assigned to |
verbose |
Print messages. |
Aggregated matrix