RNAlib-2.3.1
PS_dot.h
Go to the documentation of this file.
1 #ifndef VIENNA_RNA_PACKAGE_PS_DOT_H
2 #define VIENNA_RNA_PACKAGE_PS_DOT_H
3 
4 
7 #include <ViennaRNA/plot_aln.h>
8 
9 #ifdef DEPRECATION_WARNINGS
10 # ifdef __GNUC__
11 # define DEPRECATED(func) func __attribute__ ((deprecated))
12 # else
13 # define DEPRECATED(func) func
14 # endif
15 #else
16 # define DEPRECATED(func) func
17 #endif
18 
19 /* make this interface backward compatible with RNAlib < 2.2.0 */
20 #define VRNA_BACKWARD_COMPAT
21 
34 #define VRNA_PLOT_PROBABILITIES_BP 1U
35 #define VRNA_PLOT_PROBABILITIES_ACC 2U
36 
37 #define VRNA_PLOT_PROBABILITIES_UD 4U
38 #define VRNA_PLOT_PROBABILITIES_UD_LIN 8U
39 
40 #define VRNA_PLOT_PROBABILITIES_SD 16U
41 
42 #define VRNA_PLOT_PROBABILITIES_SC_MOTIF 32U
43 #define VRNA_PLOT_PROBABILITIES_SC_UP 64U
44 #define VRNA_PLOT_PROBABILITIES_SC_BP 128U
45 
46 #define VRNA_PLOT_PROBABILITIES_DEFAULT ( VRNA_PLOT_PROBABILITIES_BP \
47  | VRNA_PLOT_PROBABILITIES_SD \
48  | VRNA_PLOT_PROBABILITIES_SC_MOTIF \
49  | VRNA_PLOT_PROBABILITIES_UD_LIN )
50 typedef struct {
51  char *comment;
52  char *title;
53 
54  vrna_data_lin_t **top;
55  char **top_title;
56 
57  vrna_data_lin_t **bottom;
58  char **bottom_title;
59 
60  vrna_data_lin_t **left;
61  char **left_title;
62 
63  vrna_data_lin_t **right;
64  char **right_title;
66 
67 
68 int
69 vrna_plot_dp_EPS( const char *filename,
70  const char *sequence,
71  vrna_plist_t *upper,
72  vrna_plist_t *lower,
73  vrna_dotplot_auxdata_t *auxdata,
74  unsigned int options);
75 
76 int PS_color_dot_plot(char *string,
77  cpair *pi,
78  char *filename);
79 
80 int PS_color_dot_plot_turn( char *seq,
81  cpair *pi,
82  char *filename,
83  int winSize);
84 
104 int PS_dot_plot_list( char *seq,
105  char *filename,
106  plist *pl,
107  plist *mf,
108  char *comment);
109 
110 int vrna_plot_dp_PS_list( char *seq,
111  int cp,
112  char *wastlfile,
113  plist *pl,
114  plist *mf,
115  char *comment);
116 
117 int PS_dot_plot_turn( char *seq,
118  plist *pl,
119  char *filename,
120  int winSize);
121 
122 #ifdef VRNA_BACKWARD_COMPAT
123 
139 DEPRECATED(int PS_dot_plot( char *string,
140  char *file));
141 
142 #endif
143 
148 #endif
Definition: PS_dot.h:50
this datastructure is used as input parameter in functions of PS_dot.c
Definition: data_structures.h:192
int PS_dot_plot(char *string, char *file)
Produce postscript dot-plot.
Various data structures and pre-processor macros.
Various functions for plotting Sequence / Structure Alignments.
Various functions for plotting RNA secondary structures.
Definition: data_structures.h:203
this datastructure is used as input parameter in functions of PS_dot.h and others ...
Definition: data_structures.h:182
int PS_dot_plot_list(char *seq, char *filename, plist *pl, plist *mf, char *comment)
Produce a postscript dot-plot from two pair lists.