Create an object including all parameters required for running the mutSignatures framework.
setMutClusterParams(
num_processesToExtract = 2,
num_totIterations = 10,
num_parallelCores = 1,
thresh_removeWeakMutTypes = 0.01,
thresh_removeLastPercent = 0.07,
distanceFunction = "cosine",
num_totReplicates = 100,
eps = 2.2204e-16,
stopconv = 20000,
niter = 1e+06,
guided = TRUE,
debug = FALSE,
approach = "freq",
stopRule = "DF",
algorithm = "brunet",
logIterations = "lite",
seed = 12345
)
integer, number of mutational signatures to extract
integer, total number of iterations (bootstrapping)
integer, number of cores to use for the analysis
numeric, threshold for filtering out under-represented mutation types
numeric, threshold for removing outlier iteration results
string, method for calculating distances. Default method is "cosine"
integer, number of replicates while checking stability
numeric, close-to-zero positive numeric value for replacing zeros and preventing negative values to appear in the matrix during NMF
integer, max number of stable iterations before termination. Defaults to 20000.
integer, max number of iterations to run. Defaults to 1000000
logical, shall clustering be guided to improve aggregation upon bootstrapping
logical, shall the analysis be run in DEBUG mode
string, indicating whether to model absolute counts ("counts") or per_mille frequency ("freq"). Defaults to "freq".
= string, use the sub-optimal termination rule ("AL") from the WTSI package (actually, iterations won't terminate, so niter will most certainly reached) or our efficient termination rule ("DF"). Defaults to "DF". The "AL" option is implemented for compatibility reasons, but not recommended.
string, algorithm to be used for NMF. Set to "brunet", or "alexa" for using the standard algorithm (Brunet's), otherwise the alternative "chihjen" algorithm will be used.
string indicating if storing and returining all intermediates, or only final results. Defaults to "lite", i.e. returns full output and limited intermediates. Alternatively, set to "full".
integer, seed to set for reproducibility
Object including all parameters for running the analysis
More information and examples about mutational signature analysis can be found here:
GitHub Repo: https://github.com/dami82/mutSignatures/
More info and examples about the mutSignatures R library: https://www.data-pulse.com/dev_site/mutsignatures/
Sci Rep paper, introducing mutS: https://www.nature.com/articles/s41598-020-75062-0/
Oncogene paper, Mutational Signatures Operative in Bladder Cancer: https://www.nature.com/articles/s41388-017-0099-6
WTSI framework: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3588146/
# NOT RUN {
library(mutSignatures)
# defaults params
A <- setMutClusterParams()
A
# A second example, set num_processes
B <- setMutClusterParams(num_processesToExtract = 5)
B
# }
Run the code above in your browser using DataLab