-
Notifications
You must be signed in to change notification settings - Fork 223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ExtractSignatures Error #8
Comments
Hi, this is a known issue, for some reason nmf function loaded via namespace gives this error. try manually loading NMF package before running extractSignatures. It should work fine.
|
Thanks James |
Im getting a similar error even after loading the NMF library. Is there is any other obvious fix to this? Thanks,
|
I worked out on this by specifying exact values of n. I think because my mutation data were not large enough to run the default n parameter and find the best signature. So I ran n=1 to n=5 separately and chose signature with the highest correlation as described in the manual. I noticed that the same error came up again when you used large n. My command: A = trinucleotideMatrix(maf = AP, ref_genome = 'hg19_chromosome.fa', prefix = 'chr', add = TRUE, ignoreChr = 'chrM', useSyn = TRUE) A2 = extractSignatures(mat = A, n = 1, plotBestFitRes = T) plotSignatures(A2) |
Thanks @wjaratlerdsiri. That worked! |
Dear Author,
I used MAF file from Oncotator. Every step was fine, including 'TrinucleotideMatrix'. But, when I try 'extractSignatures', I saw the following error. Could you help me with this? Thankyou
Cheers,
James
The text was updated successfully, but these errors were encountered: