geom_helix: geom_helix

Description Usage Arguments Value Author(s)

View source: R/arc.R

Description

The layer of helix plot

Usage

1
geom_helix(helix_data, color_by = "length", overlap = FALSE, ...)

Arguments

helix_data

a data frame. The file of nucleltide secondary structure and then read by ggmsa::readSSfile.

color_by

generate colors for helices by various rules, including integer counts and value ranges one of "length" and "value"

overlap

Logicals. If TRUE, two structures data called predict and known must be given(eg:heilx_data = list(known = data1, predicted = data2)), plots the predicted helices that are known on top, predicted helices that are not known on the bottom, and finally plots unpredicted helices on top in black.

...

additional parameter

Value

ggplot2 layers

Author(s)

Lang Zhou


ggmsa documentation built on Aug. 3, 2021, 9:06 a.m.