CodonU.vizualizer.plot_neutrality

Module Contents

Functions

plot_neutrality(handle[, min_len_threshold, ...])

Plots neutrality plot from given fasta file

CodonU.vizualizer.plot_neutrality.plot_neutrality(handle: str | Any, min_len_threshold: int = 200, organism_name: str | None = None, save_image: bool = False, folder_path: str = 'Report', gene_analysis: bool = True)

Plots neutrality plot from given fasta file

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

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

  • organism_name – Name of organism (optional)

  • save_image – Options for saving the image (optional)

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

  • gene_analysis – Option if gene analysis (True) or genome analysis (False) (optional)