This function synthesizes a single-cell genome by introducing single nucleotide variants (SNVs) into a backbone genome. It retrieves cell-specific mutations, filters mutations that occurred after the founder cell, and introduces the mutations into the genome.
synth_sc_genome(
cell_index,
backbone_genome,
sc_mut_list,
mut_table_with_nt,
founder_cell_index
)Integer specifying the index of the cell for which to synthesize a genome
List containing the reference genome sequences of the cell's clone
List where each element corresponds to a cell's mutations, with cell indices as names
Data frame containing mutation details with nucleotide changes
Integer specifying the founder cell index of the clone
A list containing two elements:
sc_genome: The synthesized single cell genome with mutations incorporated
cell_mut_with_nt: Data frame containing the cell-specific mutations with nucleotide details