Run RNAvelocity for super-cells (slightly modified from https://github.com/velocyto-team/velocyto.R) Not yet adjusted for super-cell size (not sample-weighted)
supercell_estimate_velocity(
emat,
nmat,
smat = NULL,
membership = NULL,
supercell_size = NULL,
do.run.avegaring = (ncol(emat) == length(membership)),
kCells = 10,
...
)
results of https://github.com/velocyto-team/velocyto.R plus metacell size vector
spliced (exonic) count matrix (see https://github.com/velocyto-team/velocyto.R)
unspliced (nascent) count matrix (https://github.com/velocyto-team/velocyto.R)
optional spanning read matrix (used in offset calculations) (https://github.com/velocyto-team/velocyto.R)
supercell membership ('membership' field of SCimplify)
a vector with supercell size (if emat and nmat provided at super-cell level)
whether to run averaging of emat & nmat (if nmat provided at a single-cell level)
number of k nearest neighbors (NN) to use in slope calculation smoothing (see https://github.com/velocyto-team/velocyto.R)
other parameters from https://github.com/velocyto-team/velocyto.R