Structural Bioinformatics Library
Template C++ / Python API for developping structural bioinformatics applications.
Genetrank_gene_radar Class Reference

Constructions

 __init__ (self, gene, target_results, background_norm, background_cmap, background_color_using='max', y_range=None, markers=['o', 'o'], marker_colors=['g', 'b'], ax=None)
 Default constructor.

Internal Methods

 get_spoke_angles (self)
 Get the angles for the spokes as a list.
 radians_to_degrees (self, angle)
 Convert from radians to degrees.

Presentation

 plot (self)
 Create the plot.
 show (self)
 Present the plot using matplotlib.
 save (self, outputfile_name='gene_radar.pdf', format='pdf')
 Save the plot to a file.

Detailed Description

Class for the generation of a gene scatter plot Class for the generation of a gene scatter plot from a gene, a pandas Data Frame containing the by-target results to plot, and the normalization guide and color map for the background

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self,
gene,
target_results,
background_norm,
background_cmap,
background_color_using = 'max',
y_range = None,
markers = ['o', 'o'],
marker_colors = ['g', 'b'],
ax = None )

Default constructor.

Member Function Documentation

◆ get_spoke_angles()

get_spoke_angles ( self)

Get the angles for the spokes as a list.

◆ plot()

plot ( self)

Create the plot.

◆ radians_to_degrees()

radians_to_degrees ( self,
angle )

Convert from radians to degrees.

◆ save()

save ( self,
outputfile_name = 'gene_radar.pdf',
format = 'pdf' )

Save the plot to a file.

◆ show()

show ( self)

Present the plot using matplotlib.