1 #ifndef VIENNA_RNA_PACKAGE_PLOT_LAYOUTS_H 2 #define VIENNA_RNA_PACKAGE_PLOT_LAYOUTS_H 4 #ifdef VRNA_WARN_DEPRECATED 5 # if defined(__clang__) 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 53 #define VRNA_PLOT_TYPE_SIMPLE 0 63 #define VRNA_PLOT_TYPE_NAVIEW 1 73 #define VRNA_PLOT_TYPE_CIRCULAR 2 79 #define VRNA_PLOT_TYPE_TURTLE 3 85 #define VRNA_PLOT_TYPE_PUZZLER 4 125 unsigned int plot_type);
440 #ifndef VRNA_DISABLE_BACKWARD_COMPATIBILITY 490 "Use vrna_plot_coords_simple_pt() instead!");
519 "Use vrna_plot_coords_circular_pt() instead!");
vrna_plot_layout_t * vrna_plot_layout_naview(const char *structure)
Create a layout (coordinates, etc.) for a secondary structure plot using the Naview Algorithm ...
this is a workarround for the SWIG Perl Wrapper RNA plot function that returns an array of type COORD...
Definition: layouts.h:452
int vrna_plot_coords_pt(const short *pt, float **x, float **y, int plot_type)
Compute nucleotide coordinates for secondary structure plot.
Implementation of the RNAturtle RNA secondary structure layout algorithm .
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_simple_pt(const short *pt, float **x, float **y)
Compute nucleotide coordinates for secondary structure plot the Simple way
Implementation of the RNApuzzler RNA secondary structure layout 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.
vrna_plot_layout_t * vrna_plot_layout_circular(const char *structure)
Create a layout (coordinates, etc.) for a circular secondary structure plot.
Implementation of the Naview RNA secondary structure layout algorithm .
Various data structures and pre-processor macros.
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 simple_circplot_coordinates(short *pair_table, float *x, float *y)
Calculate nucleotide coordinates for Circular Plot
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 ...
Options data structure for RNApuzzler algorithm implementation.
Definition: RNApuzzler.h:20
int vrna_plot_coords_circular_pt(const short *pt, float **x, float **y)
Compute nucleotide coordinates for a Circular Plot
int rna_plot_type
Switch for changing the secondary structure layout algorithm.
int simple_xy_coordinates(short *pair_table, float *X, float *Y)
Calculate nucleotide coordinates for secondary structure plot the Simple way
int vrna_plot_coords(const char *structure, float **x, float **y, int plot_type)
Compute nucleotide coordinates for secondary structure plot.
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 ...
void vrna_plot_layout_free(vrna_plot_layout_t *layout)
Free memory occupied by a figure layout data structure.