Hi Yoann,
after updating methview.qc() to version 0.027 and BiocompR to version 0.0.155 (Beta) I tried to run the sampleQC.biplot() function and the following error occured:
Describe the bug
I don't receive a PCA plot anymore
Error in [.data.table(loadings.data, , :=(2:3, lapply(X = data.table::.SD, :
Supplied 2 columns to be assigned an empty list (which may be an empty data.table or data.frame since they are lists too). To delete multiple columns use NULL instead. To add multiple empty list columns, use list(list()).
In addition: Warning messages:
1: In FUN(X[[i]], ...) :
Cy3 fluorescence intensity missing for probe IDs: 21630339, 24669308. Probes removed from final data.table.
2: In FUN(X[[i]], ...) :
Cy5 fluorescence intensity missing for probe IDs: 21630339, 24669308. Probes removed from final data.table.
You can find my script under the following DKFZ path: ////data//scripts/neuroblastoma/Methylation_Analysis/Quality_Control_Methview.qc_Package_1.R
Expected behavior
A PCA plot should be generated
Desktop (please complete the following information):
sessionInfo()
R version 4.0.0 (2020-04-24)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: CentOS Linux 7 (Core)
The issue was coming from data.table synthax issues in BiocompR.
Please install the latest version of BiocompR (0.0.156).
If that doesn't solve your issue, feel free to reopen the issue.
Hi Yoann, after updating methview.qc() to version 0.027 and BiocompR to version 0.0.155 (Beta) I tried to run the sampleQC.biplot() function and the following error occured:
Describe the bug I don't receive a PCA plot anymore
To Reproduce plot3<-sampleQC.biplot(RnBSet = result, PCx = 1, PCy = 2, loadings = TRUE, loadings.col = "blue", point.size = 2.5, color.data ='TMM', shape.data = NULL)
Error in
[.data.table
(loadings.data, ,:=
(2:3, lapply(X = data.table::.SD, : Supplied 2 columns to be assigned an empty list (which may be an empty data.table or data.frame since they are lists too). To delete multiple columns use NULL instead. To add multiple empty list columns, use list(list()). In addition: Warning messages: 1: In FUN(X[[i]], ...) : Cy3 fluorescence intensity missing for probe IDs: 21630339, 24669308. Probes removed from final data.table. 2: In FUN(X[[i]], ...) : Cy5 fluorescence intensity missing for probe IDs: 21630339, 24669308. Probes removed from final data.table.You can find my script under the following DKFZ path: ////data//scripts/neuroblastoma/Methylation_Analysis/Quality_Control_Methview.qc_Package_1.R
Expected behavior A PCA plot should be generated
Desktop (please complete the following information):
Additional context Add any other context about the problem here.