1#ifndef VIENNA_RNA_PACKAGE_PLOT_LAYOUTS_H
2#define VIENNA_RNA_PACKAGE_PLOT_LAYOUTS_H
4#ifdef VRNA_WARN_DEPRECATED
6# define DEPRECATED(func, msg) func __attribute__ ((deprecated("", msg)))
7# elif defined(__GNUC__)
8# define DEPRECATED(func, msg) func __attribute__ ((deprecated(msg)))
10# define DEPRECATED(func, msg) func
13# define DEPRECATED(func, msg) func
41#ifdef VRNA_WITH_NAVIEW_LAYOUT
42#include <ViennaRNA/plotting/naview/naview.h>
57#define VRNA_PLOT_TYPE_SIMPLE 0
67#define VRNA_PLOT_TYPE_NAVIEW 1
77#define VRNA_PLOT_TYPE_CIRCULAR 2
83#define VRNA_PLOT_TYPE_TURTLE 3
89#define VRNA_PLOT_TYPE_PUZZLER 4
91#ifdef VRNA_WITH_NAVIEW_LAYOUT
92# define VRNA_PLOT_TYPE_DEFAULT VRNA_PLOT_TYPE_NAVIEW
94# define VRNA_PLOT_TYPE_DEFAULT VRNA_PLOT_TYPE_PUZZLER
135 unsigned int plot_type);
157#ifdef VRNA_WITH_NAVIEW_LAYOUT
174vrna_plot_layout_naview(
const char *structure);
451#ifndef VRNA_DISABLE_BACKWARD_COMPATIBILITY
501 "Use vrna_plot_coords_simple_pt() instead!");
530 "Use vrna_plot_coords_circular_pt() instead!");
Implementation of the RNApuzzler RNA secondary structure layout algorithm .
Implementation of the RNAturtle RNA secondary structure layout algorithm .
Various data structures and pre-processor macros.
vrna_plot_layout_t * vrna_plot_layout_turtle(const char *structure)
Create a layout (coordinates, etc.) for a secondary structure plot using the Turtle Algorithm .
vrna_plot_layout_t * vrna_plot_layout_simple(const char *structure)
Create a layout (coordinates, etc.) for a simple secondary structure plot.
vrna_plot_layout_t * vrna_plot_layout_puzzler(const char *structure, vrna_plot_options_puzzler_t *options)
Create a layout (coordinates, etc.) for a secondary structure plot using the RNApuzzler Algorithm .
vrna_plot_layout_t * vrna_plot_layout(const char *structure, unsigned int plot_type)
Create a layout (coordinates, etc.) for a secondary structure plot.
int vrna_plot_coords(const char *structure, float **x, float **y, int plot_type)
Compute nucleotide coordinates for secondary structure plot.
int vrna_plot_coords_circular(const char *structure, float **x, float **y)
Compute coordinates of nucleotides mapped in equal distancies onto a unit circle.
int vrna_plot_coords_simple_pt(const short *pt, float **x, float **y)
Compute nucleotide coordinates for secondary structure plot the Simple way
void vrna_plot_layout_free(vrna_plot_layout_t *layout)
Free memory occupied by a figure layout data structure.
vrna_plot_layout_t * vrna_plot_layout_circular(const char *structure)
Create a layout (coordinates, etc.) for a circular secondary structure plot.
int vrna_plot_coords_pt(const short *pt, float **x, float **y, int plot_type)
Compute nucleotide coordinates for secondary structure plot.
int vrna_plot_coords_simple(const char *structure, float **x, float **y)
Compute nucleotide coordinates for secondary structure plot the Simple way
int vrna_plot_coords_circular_pt(const short *pt, float **x, float **y)
Compute nucleotide coordinates for a Circular Plot
Options data structure for RNApuzzler algorithm implementation.
Definition: RNApuzzler.h:20
int rna_plot_type
Switch for changing the secondary structure layout algorithm.
int simple_circplot_coordinates(short *pair_table, float *x, float *y)
Calculate nucleotide coordinates for Circular Plot
int simple_xy_coordinates(short *pair_table, float *X, float *Y)
Calculate nucleotide coordinates for secondary structure plot the Simple way
this is a workarround for the SWIG Perl Wrapper RNA plot function that returns an array of type COORD...
Definition: layouts.h:463