plot_layouts.h
Go to the documentation of this file.
#ifndef VIENNA_RNA_PACKAGE_PLOT_LAYOUTS_H
#define VIENNA_RNA_PACKAGE_PLOT_LAYOUTS_H
#include <ViennaRNA/data_structures.h>
#include <ViennaRNA/naview.h>
#ifndef PI
#define PI 3.141592654
#endif
#define PIHALF PI/2.
#define VRNA_PLOT_TYPE_SIMPLE 0
#define VRNA_PLOT_TYPE_NAVIEW 1
#define VRNA_PLOT_TYPE_CIRCULAR 2
typedef struct {
float X; /* X coords */
float Y; /* Y coords */
} COORDINATE;
extern int rna_plot_type;
int simple_xy_coordinates(short *pair_table,
float *X,
float *Y);
int simple_circplot_coordinates(short *pair_table,
float *x,
float *y);
#endif
simple_xy_coordinates
int simple_xy_coordinates(short *pair_table, float *X, float *Y)
Calculate nucleotide coordinates for secondary structure plot the Simple way
rna_plot_type
int rna_plot_type
Switch for changing the secondary structure layout algorithm.
data_structures.h
simple_circplot_coordinates
int simple_circplot_coordinates(short *pair_table, float *x, float *y)
Calculate nucleotide coordinates for Circular Plot
naview.h
COORDINATE
this is a workarround for the SWIG Perl Wrapper RNA plot function that returns an array of type COORD...
Definition: plot_layouts.h:59