RNAlib-2.4.14
layouts.h File Reference

Secondary structure plot layout algorithms. More...

+ Include dependency graph for layouts.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  vrna_plot_layout_s
 
struct  COORDINATE
 this is a workarround for the SWIG Perl Wrapper RNA plot function that returns an array of type COORDINATE More...
 

Macros

#define VRNA_PLOT_TYPE_SIMPLE   0
 Definition of Plot type simple More...
 
#define VRNA_PLOT_TYPE_NAVIEW   1
 Definition of Plot type Naview More...
 
#define VRNA_PLOT_TYPE_CIRCULAR   2
 Definition of Plot type Circular More...
 
#define VRNA_PLOT_TYPE_TURTLE   3
 Definition of Plot type Turtle [23].
 
#define VRNA_PLOT_TYPE_PUZZLER   4
 Definition of Plot type RNApuzzler [23].
 

Typedefs

typedef struct vrna_plot_layout_s vrna_plot_layout_t
 RNA secondary structure figure layout. More...
 

Functions

vrna_plot_layout_tvrna_plot_layout (const char *structure, unsigned int plot_type)
 Create a layout (coordinates, etc.) for a secondary structure plot. More...
 
vrna_plot_layout_tvrna_plot_layout_simple (const char *structure)
 Create a layout (coordinates, etc.) for a simple secondary structure plot. More...
 
vrna_plot_layout_tvrna_plot_layout_naview (const char *structure)
 Create a layout (coordinates, etc.) for a secondary structure plot using the Naview Algorithm [5]. More...
 
vrna_plot_layout_tvrna_plot_layout_circular (const char *structure)
 Create a layout (coordinates, etc.) for a circular secondary structure plot. More...
 
vrna_plot_layout_tvrna_plot_layout_turtle (const char *structure)
 Create a layout (coordinates, etc.) for a secondary structure plot using the Turtle Algorithm [23]. More...
 
vrna_plot_layout_tvrna_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 [23]. More...
 
void vrna_plot_layout_free (vrna_plot_layout_t *layout)
 Free memory occupied by a figure layout data structure. More...
 
int vrna_plot_coords (const char *structure, float **x, float **y, int plot_type)
 Compute nucleotide coordinates for secondary structure plot. More...
 
int vrna_plot_coords_pt (const short *pt, float **x, float **y, int plot_type)
 Compute nucleotide coordinates for secondary structure plot. More...
 
int vrna_plot_coords_simple (const char *structure, float **x, float **y)
 Compute nucleotide coordinates for secondary structure plot the Simple way More...
 
int vrna_plot_coords_simple_pt (const short *pt, float **x, float **y)
 Compute nucleotide coordinates for secondary structure plot the Simple way More...
 
int vrna_plot_coords_circular (const char *structure, float **x, float **y)
 Compute coordinates of nucleotides mapped in equal distancies onto a unit circle. More...
 
int vrna_plot_coords_circular_pt (const short *pt, float **x, float **y)
 Compute nucleotide coordinates for a Circular Plot More...
 
int simple_xy_coordinates (short *pair_table, float *X, float *Y)
 Calculate nucleotide coordinates for secondary structure plot the Simple way More...
 
int simple_circplot_coordinates (short *pair_table, float *x, float *y)
 Calculate nucleotide coordinates for Circular Plot More...
 

Variables

int rna_plot_type
 Switch for changing the secondary structure layout algorithm. More...
 

Detailed Description

Secondary structure plot layout algorithms.