
Build a Bonsai tree from metacell counts
rs_mc_bonsai.Rd
As
rs_sc_bonsai(), with the metacells' aggregated raw counts
from memory in place of the binary files. Each metacell is a leaf, and its
total counts over all genes are its library size.
Arguments
- sparse_data
List. The raw metacell counts, see
mc_counts_to_list()withassay = "raw".- gene_indices
Integer. The candidate genes. (0-indexed!)
- bonsai_params
List. Parameter list, see
params_sc_bonsai().- verbose
Integer.
0L- quiet;1L- normal verbosity;2L- detailed verbosity.
Value
The same list as rs_sc_bonsai(), with the metacells
as the leaves in their row order.