View source: R/CombineChainsAndExtractSigs.R
CombineChainsAndExtractSigs | R Documentation |
Extract signatures etc. from multiple Gibbs sample chains
CombineChainsAndExtractSigs( clean.chlist, input.catalog, verbose = FALSE, high.confidence.prop = 0.9, merge.raw.cluster.args = hdpx::default_merge_raw_cluster_args() )
clean.chlist |
A list of |
input.catalog |
Input spectra catalog as a matrix. |
verbose |
If |
high.confidence.prop |
Raw clusters of mutations
found in >= |
merge.raw.cluster.args |
See |
Invisibly, a list with the following elements:
The extracted signature profiles as a matrix; rows are mutation types, columns are signatures with high confidence.
A data frame with two columns. The first
column corresponds to each signature in signature
and the second columns contains the number of posterior
samples that found the raw clusters contributing to the signature.
A numeric data frame. Columns correspond to signatures
as in signature
. Rows correspond to either biological
samples or to parent and grandparent Dirichlet processes.
The inferred exposures as a matrix
of mutation probabilities;
rows are signatures, columns are samples (e.g. tumors). This is
similar to signature.cdc
, but every column was normalized
to sum to 1.
The profiles of signatures extracted
with low confidence as a matrix; rows are mutation types,
columns are signatures with <
high.confidence.prop
of posterior samples.
Analogous to signature.post.samp.number
, except that
this one is for
signatures in low.confidence.signature
.
Analogous to
signature.cdc
, except that columns in this
matrix correspond to columns
in low.confidence.signature
.
A list object returned from
extract_components
in package hdpx.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.