Open ramiromagno opened 2 years ago
We updated the data for this example, so you can use the following code to repeat it.
library(ggplot2)
RF03120_msa<- system.file("extdata", "Rfam", "RF03120.fasta", package = "ggmsa")
RF03120_ss <- system.file("extdata", "Rfam", "RF03120_SS.txt", package = "ggmsa")
RF_arc <- readSSfile(RF03120_ss, type = "Vienna" )
p <- ggmsa(RF03120_msa,
font = NULL,
color = "Chemistry_NT",
seq_name = F,
show.legend = F,
border = NA) +
geom_helix(helix_data = RF_arc) +
theme(axis.text.y = element_blank())
p
We will update the documentation shortly.
I got that error while trying to reproduce your example in http://yulab-smu.top/ggmsa/articles/guides/Annotations.html#geom-helix.
Here's the reprex:
Created on 2022-05-13 by the reprex package (v2.0.1)