View source: R/callTrinucleotide.R
callTrinucleotide | R Documentation |
This function processes a GRanges object, summarizing cfDNA fragment information for each target mutation locus.
callTrinucleotide(frag_obj_mut)
frag_obj_mut |
GRanges object containing fragment and mutation data. |
It annotates each mutation locus with the number and type of supporting fragments according to their read-pair overlap status.
The median fragment length is also annotated for each read-pair overlap type.
Locus-based consensus mutation is determined by selecting the most frequent mismatch type, with priority given to concordant read-pair mutations (CO_MUT) followed by single-read mutations (SO_MUT). The consensus mutations are then used to derive the trinucleotide substitution types (SBS96).
dataframe with summarised mutational and trinucleotide data.
trinuc_df <- callTrinucleotide(frag_obj_mut)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.