RNAlib-2.4.14
naview.h
Go to the documentation of this file.
1 #ifndef VIENNA_RNA_PACKAGE_PLOT_NAVIEW_H
2 #define VIENNA_RNA_PACKAGE_PLOT_NAVIEW_H
3 
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)))
9 # else
10 # define DEPRECATED(func, msg) func
11 # endif
12 #else
13 # define DEPRECATED(func, msg) func
14 #endif
15 
61 int
62 vrna_plot_coords_naview(const char *structure,
63  float **x,
64  float **y);
65 
66 
85 int
86 vrna_plot_coords_naview_pt(const short *pt,
87  float **x,
88  float **y);
89 
90 
96 #ifndef VRNA_DISABLE_BACKWARD_COMPATIBILITY
97 
106 DEPRECATED(int
107  naview_xy_coordinates(short *pair_table,
108  float *X,
109  float *Y),
110  "Use vrna_plot_coords_naview_pt() instead!");
111 
112 #endif
113 
119 #endif
int vrna_plot_coords_naview(const char *structure, float **x, float **y)
Compute nucleotide coordinates for secondary structure plot using the Naview algorithm ...
int vrna_plot_coords_naview_pt(const short *pt, float **x, float **y)
Compute nucleotide coordinates for secondary structure plot using the Naview algorithm ...
int naview_xy_coordinates(short *pair_table, float *X, float *Y)