R/sce2trip.R
sce_to_triples.Rd
filter a discretized SCE using getTopHVGs from scran, the produce triples (edges) (cell - weight - gene)
sce_to_triples(sce, outtsv, ngenes = 5000)
instance of SingleCellExperiment with assays logcounts and disc
character(1) file to hold triples in tsv format
numeric(1) number of genes to retain from getTopHVGs after scran::modelGeneVar on logcounts