run scvelo on a gene or transcript level object

merge_loom(
  object,
  loom_path,
  assay = "gene",
  fit.quantile = 0.05,
  check_loom = FALSE
)

Arguments

object

a object

loom_path

path to matching loom file

assay

gene

fit.quantile

how to fit velocity

check_loom

FALSE

Value

a SingleCellExperiment object with RNA velocity calculated

Examples

# \donttest{
chevreul_sce <- chevreuldata::human_gene_transcript_sce()
#> see ?chevreuldata and browseVignettes('chevreuldata') for documentation
#> loading from cache
#> require("SingleCellExperiment")
merge_loom(chevreul_sce, "my.loom")
#> Error in .local(con, ...): file.exists(con) is not TRUE
# }