RNAlib-2.4.4
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 
8 #include <ViennaRNA/plot_aln.h>
9 
10 #ifdef VRNA_WARN_DEPRECATED
11 # if defined(__clang__)
12 # define DEPRECATED(func, msg) func __attribute__ ((deprecated("", msg)))
13 # elif defined(__GNUC__)
14 # define DEPRECATED(func, msg) func __attribute__ ((deprecated(msg)))
15 # else
16 # define DEPRECATED(func, msg) func
17 # endif
18 #else
19 # define DEPRECATED(func, msg) func
20 #endif
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_ep_t *upper,
72  vrna_ep_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 #ifndef VRNA_DISABLE_BACKWARD_COMPATIBILITY
123 
139 DEPRECATED(int PS_dot_plot( char *string,
140  char *file),
141 "Use vrna_plot_dp_EPS() instead");
142 
143 #endif
144 
149 #endif
Data structure representing a single entry of an element probability list (e.g. list of pair probabil...
Definition: structure_utils.h:114
this datastructure is used as input parameter in functions of PS_dot.c
Definition: data_structures.h:111
Definition: PS_dot.h:50
int PS_dot_plot(char *string, char *file)
Produce postscript dot-plot.
Various data structures and pre-processor macros.
Various utility- and helper-functions for secondary structure parsing, converting, etc.
Various functions for plotting Sequence / Structure Alignments.
Various functions for plotting RNA secondary structures.
Definition: data_structures.h:122
int PS_dot_plot_list(char *seq, char *filename, plist *pl, plist *mf, char *comment)
Produce a postscript dot-plot from two pair lists.