CodonU.vizualizer.plot_ca_codon_freq_gene

Module Contents

Functions

plot_ca_codon_freq_gene(handle, genetic_table_num[, ...])

Plots CA for genes with gene length as scale

CodonU.vizualizer.plot_ca_codon_freq_gene.plot_ca_codon_freq_gene(handle: str, genetic_table_num: int, min_len_threshold: int = 200, n_components: int = 2, single_syn_codons: list | None = None, organism_name: str | None = None, save_image: bool = False, folder_path: str = 'Report')

Plots CA for genes with gene length as scale

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

  • genetic_table_num – Genetic table number for codon table

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

  • n_components – Components for CA (Optional)

  • single_syn_codons – List of codons belonging to SF1 (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)