SynSigRun | R Documentation |
SynSigRun
: An easy-to-use package for non-experts which runs software
packages reproducibly with synthetic tumors generated by SynSigGen
.SynSigRun
gives necessary information to mutational-signature analysis
programs. These programs used catalogs of synthetic mutational spectra created
by package SynSigGen
, and results were assessed by SynSigEval
.
Typical workflow for conducting a mutational signature analysis with mutational spectra is as follows.
Mutational spectra can be obtained from vcf files of real samples
(see "Importing mutational spectra from ICAMS
"). Mutational spectra
can also be generated in-silico by R package SynSigGen
, and then
imported by ICAMS
(see "(In SynSigGen) Creating Synthetic Mutational Spectra").
ICAMS
Relevant functions are:
ReadCatalog
StrelkaSBSVCFFilesToCatalog
StrelkaIDVCFFilesToCatalog
MutectVCFFilesToCatalog
See ICAMS
package documentation for more details.
SynSigGen
) Creating Synthetic Mutational SpectraThese functions create synthetic mutational spectra based on parameters derived from mutational signature profiles and exposures.
Relevant functions for generate exposures are:
GenerateSynFromReal
GenerateSyntheticExposures
GenSBS1SBS5Exposure
After generating exposures for spectra dataset, SynSigGen
used
these functions to generate mutational spectra:
CreateFromReal
CreateMixedTumorTypeSyntheticData
CreateRandomSyn
See SynSigGen
package documentation for more details.
SynSigRun
) Run mutational analysis computational approachesRelevant functions are:
RunhdpLessHier
Runmaftools
RunMutationalPatterns
RunsigneR
Runtcsm
SynSigEval
) Summarize resultsSummarize results of of signature extraction and exposure inference (a.k.a. signature attribution):
Relevant functions are:
SummarizeSigOnehelmsmanSubdir
SignatureAnalyzerSummarizeTopLevel
SignatureAnalyzerSummarizeSBS1SBS5
SummarizeSigOneSigProExtractorSubdir
SummarizeSigProExtractor
SummarizeSigOneExtrAttrSubdir
Package SynSigEval
uses functions in ICAMSxtra
to compare two sets of mutational signatures.
Often we will be interested in comparing signature profiles
extracted from synthetic data to the
ground-truth signature profiles:
Match1Sig
MatchSigs1Direction
MatchSigs2Directions
MatchSigsAndRelabel
Summary function will fit to the new 5-level folder structure:
First Level - top.level.dir
: dataset folder (e.g. "S.0.1.Rsq.0.1", "syn.pancreas").
All spectra datasets under any top.level.dir have the same exposure.
Second Level - ground.truth.exposure.dir
: spectra folder: (e.g. "sp.sp", "sa.sa.96").
All spectra datasets under any second.level.dir have the same signature and
the same exposure counts.
Third Level - third.level.dir
:
It can be ("Attr") for storing results of packages which can only do signature attribution of known signatures ("Attr");
It can be ("ExtrAttr"), folder to store results of computational approaches which can do de-novo extraction and following attribution, without knowing the number of ground-truth mutational signatures active in the spectra data set.
It can also be ("ExtrAttrExact"), folder to store results of computational approaches which can do de-novo extraction and following attribution, given the number of ground-truth mutational signatures active in the spectra data set.
Fourth Level - tool.dir
: The results of a computational approach
(e.g. "sigproextractor.results","SignatureEstimation.QP.results").
Under this level, tool.dir
may contain multiple run.dir
,
each is a run of the computational approach using a specific number of seed.
Fifth level - run.dir
: contains results from a run of the computational approach
using a specific number of seed. (e.g. "seed.1")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.