| asv.to.linf.csts | R Documentation |
Convenience pipeline: runs filter.asv() on counts, computes
L-infinity-normalized relatives on the filtered counts, and assigns
truncated dCSTs.
asv.to.linf.csts(S.counts, ..., backend = c("auto", "dense", "sparse"))
S.counts |
Numeric matrix of counts (samples x features). |
... |
Arguments passed to |
backend |
Character. Matrix backend to use: |
A list with:
filter: the full result from filter.asv().
linf.rel: L-infinity-normalized matrix on filtered counts.
csts: result from linf.csts() on linf.rel.
set.seed(1)
S <- matrix(rpois(100, lambda = 5), nrow = 20, ncol = 5)
res <- asv.to.linf.csts(S, min.lib = 10, prev.prop = 0.1, min.count = 1)
names(res)
apply(res$linf.rel, 1, max) # should be 1 (or 0 for all-zero rows)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.