Secondary structure plot layout algorithms. More...
Go to the source code of this file.
Defines | |
#define | VRNA_PLOT_TYPE_SIMPLE 0 |
Definition of Plot type simple. | |
#define | VRNA_PLOT_TYPE_NAVIEW 1 |
Definition of Plot type Naview. | |
#define | VRNA_PLOT_TYPE_CIRCULAR 2 |
Definition of Plot type Circular. | |
Functions | |
int | simple_xy_coordinates (short *pair_table, float *X, float *Y) |
Calculate nucleotide coordinates for secondary structure plot the Simple way. | |
int | simple_circplot_coordinates (short *pair_table, float *x, float *y) |
Calculate nucleotide coordinates for Circular Plot. | |
Variables | |
int | rna_plot_type |
Switch for changing the secondary structure layout algorithm. |
Secondary structure plot layout algorithms.
c Ronny Lorenz The ViennaRNA Package
#define VRNA_PLOT_TYPE_SIMPLE 0 |
Definition of Plot type simple.
This is the plot type definition for several RNA structure plotting functions telling them to use Simple plotting algorithm
#define VRNA_PLOT_TYPE_NAVIEW 1 |
Definition of Plot type Naview.
This is the plot type definition for several RNA structure plotting functions telling them to use Naview plotting algorithm
#define VRNA_PLOT_TYPE_CIRCULAR 2 |
Definition of Plot type Circular.
This is the plot type definition for several RNA structure plotting functions telling them to produce a Circular plot
int simple_xy_coordinates | ( | short * | pair_table, | |
float * | X, | |||
float * | Y | |||
) |
Calculate nucleotide coordinates for secondary structure plot the Simple way.
pair_table | The pair table of the secondary structure | |
X | a pointer to an array with enough allocated space to hold the x coordinates | |
Y | a pointer to an array with enough allocated space to hold the y coordinates |
int simple_circplot_coordinates | ( | short * | pair_table, | |
float * | x, | |||
float * | y | |||
) |
Calculate nucleotide coordinates for Circular Plot.
This function calculates the coordinates of nucleotides mapped in equal distancies onto a unit circle.
pair_table | The pair table of the secondary structure | |
x | a pointer to an array with enough allocated space to hold the x coordinates | |
y | a pointer to an array with enough allocated space to hold the y coordinates |
int rna_plot_type |
Switch for changing the secondary structure layout algorithm.
Current possibility are 0 for a simple radial drawing or 1 for the modified radial drawing taken from the naview program of Bruccoleri & Heinrich (1988).