Questions about SomaticSignatures package
0
0
Entering edit mode
Asma rabe ▴ 290
@asma-rabe-4697
Last seen 6.2 years ago
Japan

Hi,

I would like to thank the authors of SomaticSignatures  for the helpful package and for support on bioconductor forum.

Although the vignette is clear, I suggest that you add an example on how to start from text file in this format:

Chr Stt end Ref Var SampleID study

This will be much more easy for many readers to start processing there own data

Data<-read.table("file.txt")

colnames(Data)<-c("Chr","Start","End","Ref","Var","Sample","study")

sca_vr = VRanges(seqnames=Data$Chr,ranges=IRanges(start=Data$Start,width=1),ref=Data$Ref,alt=Data$Var,study=Data$study)

…..

….

other steps are as exactly in vignette.

#=====================

In case of using fast to get mutation context, I could not find mutational context function

sca_vr = VRanges(seqnames=Data$Chr,ranges=IRanges(start=Data$Start,width=1),ref=Data$Ref,alt=Data$Var,study=Data$study)

fa_A = FastaFile("human_hg19.ucsc.fa")

vr_A = mutationalContext(sca_vr, fa_A)
Error: could not find function "mutationalContext"

When i tried mutationContext , i got this error

vr_A = mutationContext(sca_vr,fa_A)
Error in (function (classes, fdef, mtable)  : 
  unable to find an inherited method for function ‘getSeq’ for signature ‘"FastaFile"’

Any idea??

#=====================

In mutational signatures plot y-axis represents the contribution of each motif in the signatures. How this contribution is estimated?

Thank you very much.

somaticsignatures • 1.5k views
ADD COMMENT
0
Entering edit mode

Hi Asma,

Have you figure out how to input your own data with VRanges?

I also faced with same problem. If you already success, please let me know.

 

Bests,

Shengfeng

 

 

ADD REPLY

Login before adding your answer.

Traffic: 992 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6