write_codon_counts_to_csv

Function write_codon_counts_to_csv 

Source
pub fn write_codon_counts_to_csv(
    filename_prefix: &str,
    codon_data: &Vec<(String, HashMap<String, usize>)>,
) -> Result<()>
Expand description

Write codon counts to a CSV file

§Arguments

  • filename_prefix: str to be used as prefix for output files
  • codon_data: The codon counts to be written

§Returns

A result with an output file: prefix_codon.csv