I am analyzing data through SomaticSignatures package. I am trying to use assesNumberSignatures function to determine number of signatures.
I entered the following commands:
> n_sigs = 2:8
> gof_pca = assessNumberSignatures(cancer_mm, n_sigs, pcaDecomposition)
When I entered the second command, I got the following error:
Error in findSignatures(m, nSigs, decomposition, ...)
'nSigs|r' must be a single positive integer in the range [1,4]
Would someone please help me in this?