Identify sample contamination base on variant allele frequency (VAF) detected from genome sequencing on tumor samples. An example of VAF data and its configuration file are distributed with this package under inst/extdata/. Refer method documentation here
Refer manual here
devtools::install_github("lpwgit/contPredict")
library(conPredict)
data_path <- system.file('extdata',package='conPredict')
output_path <- 'output_express'
config_file <- system.file("extdata", 'config.txt', package = "conPredict", mustWork = TRUE)
run_sampleContamination(data_path = data_path,
output_path = output_path,
config_file = config_file)