Structural Bioinformatics Library
Template C++ / Python API for developping structural bioinformatics applications.
|
Constructions | |
def | __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. More... | |
Internal Methods | |
def | get_spoke_angles (self) |
Get the angles for the spokes as a list. More... | |
def | radians_to_degrees (self, angle) |
Convert from radians to degrees. More... | |
Presentation | |
def | plot (self) |
Create the plot. More... | |
def | show (self) |
Present the plot using matplotlib. More... | |
def | save (self, outputfile_name='gene_radar.pdf', format='pdf') |
Save the plot to a file. More... | |
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
def __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.
def get_spoke_angles | ( | self | ) |
Get the angles for the spokes as a list.
def plot | ( | self | ) |
Create the plot.
def radians_to_degrees | ( | self, | |
angle | |||
) |
Convert from radians to degrees.
def save | ( | self, | |
outputfile_name = 'gene_radar.pdf' , |
|||
format = 'pdf' |
|||
) |
Save the plot to a file.
def show | ( | self | ) |
Present the plot using matplotlib.