file <- c(system.file("extdata/Strelka-SBS-vcf/",
"Strelka.SBS.GRCh37.s1.vcf",
package = "ICAMS"))
list.of.vcfs <- ReadAndSplitStrelkaSBSVCFs(file)
SBS.vcf <- list.of.vcfs$SBS.vcfs[[1]]
if (requireNamespace("BSgenome.Hsapiens.1000genomes.hs37d5", quietly = TRUE)) {
annotated.SBS.vcf <- AnnotateSBSVCF(SBS.vcf, ref.genome = "hg19",
trans.ranges = trans.ranges.GRCh37)
PlotTransBiasGeneExp(annotated.SBS.vcf = annotated.SBS.vcf,
expression.data = gene.expression.data.HepG2,
Ensembl.gene.ID.col = "Ensembl.gene.ID",
expression.value.col = "TPM",
num.of.bins = 4, plot.type = "C>A")
}
Run the code above in your browser using DataLab