View source: R/somenone_pairtree.R
mut_cn_to_pyclone | R Documentation |
Parse mutation and CN input, creating a master table of PyClone(VI) input Format: mutation_id, sample_id, ref_counts, alt_counts, normal_cn, major_cn, minor_cn, tumour_content mutation_id is a unique ID (position-based) sample_id is sample ref/alt_counts are read counts at Mutation, VAF the variant allele frequency mut_rdata is master_consensus_shared from somatic_n-of-1 workflow For somatic_n-of-1 workflow, CN is based on FACETS inputs
mut_cn_to_pyclone(mut_gr, cn_pattern, pp_pattern, tag)
mut_gr |
gr_master_consensus_all |
cn_pattern |
pattern matching FACETS input (fit_cncf_jointsegs.tsv) |
pp_pattern |
pattern matching FACETS polidy/purity (fit_ploidy_purity.tsv) |
none, writes a tsv for input to pyclone(VI)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.