CodonU.vizualizer.plot_ca_aa_freq_gene

Module Contents

Functions

plot_ca_aa_freq_gene(handle, genetic_table_num, scale)

Plots CA for genes with aromaticity or gravy score as scale.

CodonU.vizualizer.plot_ca_aa_freq_gene.plot_ca_aa_freq_gene(handle: str, genetic_table_num: int, scale: str, min_len_threshold: int = 66, n_components: int = 2, organism_name: str | None = None, save_image: bool = False, folder_path: str = 'Report')

Plots CA for genes with aromaticity or gravy score as scale.

NOTE Values of scale supported are ‘gravy’, ‘aroma’

Parameters:
  • handle – Handle to the file, or the filename as a string

  • genetic_table_num – Genetic table number for codon table

  • scale – Scale for gene colors

  • min_len_threshold – Minimum length of nucleotide sequence to be considered as gene (optional)

  • n_components – Components for CA (Optional)

  • organism_name – Name of organism (optional)

  • save_image – Options for saving the image (optional)

  • folder_path – Folder path where image should be saved (optional)