CodonU.correspondence_analysis.ca_aa

Module Contents

Functions

ca_aa(→ prince.CA)

Performs CA on aa frequency contingency table

CodonU.correspondence_analysis.ca_aa.ca_aa(contingency_table: pandas.DataFrame, n_components: int = 20, save_file: bool = False, file_name: str = 'CA_aa', folder_path: str = 'Report') prince.CA

Performs CA on aa frequency contingency table

Note Gene descriptions must be index headings and aas must column headings of the table

Parameters:
  • contingency_table – The contingency table (pandas DataFrame object)

  • n_components – Components for CA

  • save_file – Option for saving the values in xlsx format (Optional)

  • file_name – Intended file name (Optional)

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

Returns:

The CA object