plot_indel_binding: Plot the indel binding for both reference and mutated...

View source: R/visualization.R

plot_indel_bindingR Documentation

Plot the indel binding for both reference and mutated alleles.

Description

Plot the indel binding for both reference and mutated alleles.

Usage

plot_indel_binding(indel_info, motif_scores, motif)

Arguments

indel_info

A list of length 1 containing the indel information. See indel_info for details and an example.

motif_scores

A list of the same structure as the '$list' field in the output of indel_motif_scores.

motif

A list of length 1 containing the motif PWM. The name of this element is the motif name.

Author(s)

Qinyi Zhou qinyi.zhou@utdallas.edu, Sunyoung Shin sunyoung.shin@utdallas.edu

Examples

## Not run: data(example)
motif_scores <- indel_motif_scores(motif_lib, indel_info)$list
plot_indel_binding(
   indel_info[1],
   motif_scores,
   motif_lib[1]
)

## End(Not run)

chandlerzuo/atIndel documentation built on Jan. 20, 2024, 4:10 a.m.