Description Usage Arguments Value
Convert state segmentation for plotting with Gviz
| 1 | viterbi2Gviz(viterbi, chrom, gen, from, to, statecols, col = NULL)
 | 
| viterbi | A list containing the viterbi paths as factors. The output from getViterbi. | 
| chrom | The chromosome/sequence if to convert. | 
| gen | The geome id, e.g. hg19, hg38 for human. | 
| from | Genomic start poistion. | 
| to | Genomic end poistion. | 
| statecols | Named vector with state colors. | 
| col | Background color. | 
A list containing the viterbi path converted to Gviz objects for plotting.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.