View source: R/check_CHIP_variants.R
check_CHIP_variants | R Documentation |
Check for CHIP variants in normal and tumour at high VAF
check_CHIP_variants(
normal_bam = NULL,
tumour_bam = NULL,
reference = "hg38",
min_vaf = 0.05,
only_snvs = TRUE,
add_chr = TRUE
)
normal_bam |
path of bam file for healthy sample |
tumour_bam |
path of bam file for tumour sample |
reference |
reference genome, one of hg38 or hg19 |
min_vaf |
minimum required VAF to flag the mutation |
only_snvs |
use only SVNs and filter indels |
add_chr |
if chromosomes on BAM files have chr set it to TRUE The function takes a tumour and a normal bam files and scans for known CHIP mutations listed in Bick et al.. The function gives back a data frame with mutation having VAF higher than |
Two dataframes for each of tumour and nomal with coloumns: chr, pos, alt, ref, VAF, DP and NV (chromosome, position, alternative allele, reference allele, variant allelic frequency, depth , number of variant reads)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.