knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" ) ggplot2::theme_set(ggplot2::theme_bw())
r badgecreatr::badge_lifecycle("maturing")
rnafolding is a package to...
You can install the development version from GitHub with:
# install.packages("devtools") devtools::install_github("ruthkr/rnafolding")
This is a basic example which shows you how to run windowed folding from a FASTA file:
# Load the package library(rnafolding) # Define the FASTA path from the sample 5S rRNA sequence seq_5S <- system.file("extdata", "5S.fasta", package = "rnafolding") # Fold 5S with Sliding Windows windows_5S <- rnafolding::fold( filename = seq_5S, winsize = 50, stepsize = 5 )
After getting the windowed folding results, you can plot the structure map as follows:
plot_structure_map( windows_5S, plot_list = c("entropy", "bpp") )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.