RNAlib-2.1.9h
plot_layouts.h
Go to the documentation of this file.
1
9#ifndef __VIENNA_RNA_PACKAGE_PLOT_LAYOUTS_H__
10#define __VIENNA_RNA_PACKAGE_PLOT_LAYOUTS_H__
11
12#include "data_structures.h"
13#include "naview.h"
14
15#ifndef PI
16#define PI 3.141592654
17#endif
18#define PIHALF PI/2.
19
20
29#define VRNA_PLOT_TYPE_SIMPLE 0
30
39#define VRNA_PLOT_TYPE_NAVIEW 1
40
49#define VRNA_PLOT_TYPE_CIRCULAR 2
50
51
64extern int rna_plot_type;
65
77int simple_xy_coordinates(short *pair_table,
78 float *X,
79 float *Y);
80
101int simple_circplot_coordinates(short *pair_table,
102 float *x,
103 float *y);
104
105
106#endif
All datastructures and typedefs shared among the Vienna RNA Package can be found here.
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