Hi,
I have gone through your paper, Inferring Somatic Signatures from Single Nucleotide Variant Calls and I want to run somatic signature package on the exome samples.Sir, I want to know the structure of the input file,the problem that I am facing is not able to export the datasets of the SomaticCancerAlterations
package while I have successfully exported the datasets of SomaticSignatures
package.I have already run this package for the demo data supplied with this package.
The error that I am getting while exporting the datasets of the SomaticCancerAlterations
package is
Error in as.vector(x) : no method for coercing this S4 class to a vector
Looking for your response.
Swati
Hi Swati, there is little information that can help us understand the problem. Can you please provide a minimal example that produces your error, along with the information mentioned in the posting guide? This would be very helpful.
To export one of the dataset of the
SomaticSignatures
package dataset in R I have used this commanddata(sca_mm)
write.table(sca_mm, "/location to store data/sca_mm.txt", sep="\t"), this is working fine but while exporting one of the dataset of
SomaticCancerAlterations
package usingdata(gbm_tcga)
write.table(gbm_tcga, "/location to store data/gbm_tcga.txt", sep="\t") , getting error as.vector(x) : no method for coercing this S4 class to a vector
Hi Sir,
The previous problem is solved,thanks for your effort.I have a question the plot that is generated for Mutation spectrum after giving this function -
Another question regarding Mutation signature plot is that while generating the plot multiple times(generated 5 times) we are getting different results(results are not similar in all 5 plots) using this function -
plotSignatures(sigs_nmf) + ggtitle("Somatic Signatures: NMF - Barchart")
Need your help.Looking for your response.
Thanks
Swati.