Open ekfchan opened 5 years ago
Hi Eva, Thanks for reaching out. To help with the analysis using the toy dataset has been provided in the example script along with the package https://github.com/FunGeST/Palimpsest/blob/master/RUNNING_PALIMPSEST_EXAMPLE/Palimpsest_test_script.R
The script provides stepwise analysis to process the toy data and obtains the results as shown in the vignette. In this script, you will find a proper list of colors for signature visualization (section 2). Here is the code in case; library(RColorBrewer);qual_col_pals <- brewer.pal.info[brewer.pal.info$category == 'qual',] mycol <- unlist(mapply(brewer.pal, qual_col_pals$maxcolors, rownames(qual_col_pals))) mycol<- mycol[sample.int(length(mycol),nrow(denovo_signatures))];names(mycol) <- rownames(denovo_signatures)
You have missed out naming the variables in the mycol list. Hopefully, this solution will be of help to you. Best regards, Jay
Yup! Thanks for pointing out the R script; sorry I missed it.
The piecharts are now displaying.
Though I'm still getting the warning messages. Something I should worry about?
Thanks!
Hi Palimpsest Dev Team,
I was going through the package's accompanying vignette http://nbviewer.jupyter.org/github/FunGeST/Palimpsest/blob/master/Files/vignette_palimpsest.pdf and came across an issue related to
deconvolution_fit
. At Section 5.3 of the vignette, I ran the following commands:mycol
so I defined it here (hoping I did the right thing).44: In text.default(1.1 P$x, 1.1 P$y, labels[i], xpd = TRUE, ... : "explode" is not a graphical parameter : 49: In text.default(1.1 P$x, 1.1 P$y, labels[i], xpd = TRUE, ... : "explode" is not a graphical parameter 50: In title(main = main, ...) : "explode" is not a graphical parameter