Description Usage Arguments Value

View source: R/decompose_theta.R

Decomposes the theta matrix outout from `model_archaic`

into component probability distributions for the mismatch type,
flanking bases, strand break base and position of strand
composition. These are the probabilities that get represented
in the logo plot in `plot_archaic`

.

1 | ```
decompose_theta(theta_out, max_pos = 20)
``` |

`theta_out` |
A theta matrix from a GoM model fit, with columns representing clusters and rows representing the mutational signatures. |

`max_pos` |
The maximum distance from the end of the read that is used for filtering. |

Returns a list with number of items equal to number of clusters. Each item of this list is another comprising of the probability distribution of types of mismatch, flanking base, distance from end of read and strand break composition separately.

kkdey/aRchaic documentation built on Aug. 17, 2018, 3:27 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.