RNAlib-2.4.8
probabilities.h
Go to the documentation of this file.
1 #ifndef VIENNA_RNA_PACKAGE_PLOT_PROBABILITIES_H
2 #define VIENNA_RNA_PACKAGE_PLOT_PROBABILITIES_H
3 
4 
7 
8 #ifdef VRNA_WARN_DEPRECATED
9 # if defined(__clang__)
10 # define DEPRECATED(func, msg) func __attribute__ ((deprecated("", msg)))
11 # elif defined(__GNUC__)
12 # define DEPRECATED(func, msg) func __attribute__ ((deprecated(msg)))
13 # else
14 # define DEPRECATED(func, msg) func
15 # endif
16 #else
17 # define DEPRECATED(func, msg) func
18 #endif
19 
32 #define VRNA_PLOT_PROBABILITIES_BP 1U
33 #define VRNA_PLOT_PROBABILITIES_ACC 2U
34 
35 #define VRNA_PLOT_PROBABILITIES_UD 4U
36 #define VRNA_PLOT_PROBABILITIES_UD_LIN 8U
37 
38 #define VRNA_PLOT_PROBABILITIES_SD 16U
39 
40 #define VRNA_PLOT_PROBABILITIES_SC_MOTIF 32U
41 #define VRNA_PLOT_PROBABILITIES_SC_UP 64U
42 #define VRNA_PLOT_PROBABILITIES_SC_BP 128U
43 
44 #define VRNA_PLOT_PROBABILITIES_DEFAULT ( VRNA_PLOT_PROBABILITIES_BP \
45  | VRNA_PLOT_PROBABILITIES_SD \
46  | VRNA_PLOT_PROBABILITIES_SC_MOTIF \
47  | VRNA_PLOT_PROBABILITIES_UD_LIN )
48 typedef struct {
49  char *comment;
50  char *title;
51 
52  vrna_data_lin_t **top;
53  char **top_title;
54 
55  vrna_data_lin_t **bottom;
56  char **bottom_title;
57 
58  vrna_data_lin_t **left;
59  char **left_title;
60 
61  vrna_data_lin_t **right;
62  char **right_title;
64 
65 
66 int
67 vrna_plot_dp_EPS( const char *filename,
68  const char *sequence,
69  vrna_ep_t *upper,
70  vrna_ep_t *lower,
71  vrna_dotplot_auxdata_t *auxdata,
72  unsigned int options);
73 
74 int PS_color_dot_plot(char *string,
75  cpair *pi,
76  char *filename);
77 
78 int PS_color_dot_plot_turn( char *seq,
79  cpair *pi,
80  char *filename,
81  int winSize);
82 
102 int PS_dot_plot_list( char *seq,
103  char *filename,
104  plist *pl,
105  plist *mf,
106  char *comment);
107 
108 int vrna_plot_dp_PS_list( char *seq,
109  int cp,
110  char *wastlfile,
111  plist *pl,
112  plist *mf,
113  char *comment);
114 
115 int PS_dot_plot_turn( char *seq,
116  plist *pl,
117  char *filename,
118  int winSize);
119 
120 #ifndef VRNA_DISABLE_BACKWARD_COMPATIBILITY
121 
137 DEPRECATED(int PS_dot_plot( char *string,
138  char *file),
139 "Use vrna_plot_dp_EPS() instead");
140 
141 #endif
142 
147 #endif
this datastructure is used as input parameter in functions of PS_dot.c
Definition: basic.h:112
Definition: probabilities.h:48
int PS_dot_plot(char *string, char *file)
Produce postscript dot-plot.
Various data structures and pre-processor macros.
Definition: basic.h:123
int PS_dot_plot_list(char *seq, char *filename, plist *pl, plist *mf, char *comment)
Produce a postscript dot-plot from two pair lists.
Various utility- and helper-functions for secondary structure parsing, converting, etc.
Data structure representing a single entry of an element probability list (e.g. list of pair probabil...
Definition: structures.h:358