| downsample_spectra | R Documentation |
Downsample a set of mutational spectra
downsample_spectra(spec, downsample_threshold = NULL, thres = NULL)
spec |
Input spectra as a numerical matrix or similar |
downsample_threshold |
See |
thres |
Deprecated alternative to |
A list with elements:
down_spec: A numeric matrix with same shape as spec,
with the mutation counts in each column reduced based on
the corresponding ratio in the second element of this list, down_factor.
down_factor Numeric vector of the ratios of
downsample(colSums(spec)) to
colSums(spec).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.