Skip to content

waterfall plot "plotMutBurden" function #384

@u1200538

Description

@u1200538

Hi!
I'm using the function waterfall from GenVisR package.
As the vignette suggests, I want to change the top plot with custom values. However, I cannot find any option to modified these plot.
As you see the below images, top plot seperated 3 kinds of the translational effect. those values cannot be specified and appear in gray as "Undefined".

[https://stackoverflow.com/questions/49644304/waterfall-plot-genvisr]

Q1. Is it possible to customize the Mutation Burden plot ? I want to change the Translational Effect category.

Q2. And I want to know how to decide the Translational Effect (Synonymous, Non Synonymous) by following Mutation type??
If the mutation type is "silent", the translational effect is specified as sysnonymous I think, but I'm not sure if all mutation types except "silent" are designated as nonsynonymous.

mutationData <- read.table('input5D_Group1.txt', sep='\t', header=TRUE)
Samplelist <- read.table('Samplelist.txt', sep='\t', header=TRUE)
clinicalData <- melt(data=Samplelist, id.vars=c("sample"))
mutation_priority<- c("Missense, Splice site, Nonsense","Frameshift ins/del., Inframe ins/del.", "silent","UTR","Up, Downstream gene variant")
waterfall(mutationData,
fileType = "Custom",
variant_class_order=mutation_priority,
clinData=clinicalData,
clinVarCol=c('Group1'='#5CD1E5'),
mainPalette = c("Missense, Splice site, Nonsense"='#2F9D27',"Frameshift ins/del., Inframe ins/del."='#FF9436',"UTR"='#FF1493',"Up, Downstream gene variant"='#7B68EE'),
sampOrder=Samplelist$sample[Samplelist$group=="Group1"],
plotSamples=Samplelist$sample[Samplelist$group=="Group1"],
rmvSilent=TRUE,
mainDropMut=TRUE,
maxGenes = 1000,
section_heights=c(1, 10, 0.5),
clinLegCol=3,
mainXlabel=TRUE,
coverageSpace=1000000)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions