Closed K-Ramachandra-Murthy closed 4 years ago
I second this problem. It seems that either MAST has changed or some other change in NAMESPACE rules causes the reliance on zlm.SingleCellAssay to become a problem.
Currently: 'zlm.SingleCellAssay' is not exported by 'namespace:MAST'
Indeed MAST states that zlm.SingleCellAssay is defunct. Since version 1.5.3 Transition to use SingleCellExperiment and manage log counts slot.
And in the Readme: New Features and announcements MAST has been ported to use SingleCellExperiment under the hood, and is in Bioconductor. We now make an effort to track assay contents (counts vs log counts). This should facilitate interaction with Scater and SCRAN.
OK. This problem can be solved by editing R/utlis_DEdetection.R
and removing the .SingleCellAssay
from zlm
. Also update the NAMESPACE
file with the same edit.
It next produces an error in scater
Error: object 'calcAverage' is not exported by 'namespace:scater'
OK, so the calcAverage
not exported by namespace:scater
is solved by changing the powsimR
code in R/utils_estimate.R
and in NAMESPACE
to reflect the change in scater
where the class was renamed to calculateAverage
.
After these two changes, the package compiles as of 2020-05-13. Now to test if there are any hidden hiccups.
Hi Gerard Tromp, After making the suggested changes, it complied without any errors. Thank you. Appreciate your help.
Ramachandra
My pleasure,
I have also contacted the package author with the relevant changes.
Although MAST had the information in the NEWS and Readme, in scater it was a silent change. Silent changes are very annoying.
Gerard Gerard Tromp, PhD Professor and Research Chair in Bioinformatics SAMRC-SHIP South African Tuberculosis Bioinformatics Initiative (SATBBI) Centre for Bioinformatics and Computational Biology DST/NRF Centre of Excellence for Biomedical Tuberculosis Research SAMRC Center for Molecular and Cellular Biology Division of Molecular Biology and Human Genetics Department of Biomedical Sciences Faculty of Medicine and Health Sciences Stellenbosch University Tygerberg, 7505, South Africa +27-21-938-9947 Home Page: https://goo.gl/CaXRR Publications: https://goo.gl/SwwxM5 Google Scholar: https://goo.gl/NAaET [cid:image001.png@01D62946.84C30070]
From: K-Ramachandra-Murthy Sent: Wednesday, May 13, 2020 16:46 To: bvieth/powsimR powsimR@noreply.github.com Cc: Tromp, Gerard, Prof [gctromp@sun.ac.za] gctromp@sun.ac.za; Comment comment@noreply.github.com Subject: Re: [bvieth/powsimR] Installation Issue (#46)
CAUTION: This email originated from outside of the University. Do not click links or open attachments unless you recognize the sender and know the content is safe.
Hi Gerard Tromp, After making the suggested changes, it complied without any errors. Thank you. Appreciate your help.
Ramachandra
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fbvieth%2FpowsimR%2Fissues%2F46%23issuecomment-628039134&data=02%7C01%7C%7C1d488b0ce7754e5e0fe808d7f74c51c9%7Ca6fa3b030a3c42588433a120dffcd348%7C0%7C0%7C637249779492680894&sdata=W5jaNHQibyK0sDzjYCx8gNlGt8dt5aVBqIzHIOYqrdc%3D&reserved=0, or unsubscribehttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAGCBWDPBPILD3RC46BUTJQLRRKXBRANCNFSM4MVXCQDQ&data=02%7C01%7C%7C1d488b0ce7754e5e0fe808d7f74c51c9%7Ca6fa3b030a3c42588433a120dffcd348%7C0%7C0%7C637249779492680894&sdata=NOpEBVc%2BBwR5UcGbuOlje4HzOXbLkB%2BYFmQkL2%2F4o5U%3D&reserved=0.
[https://cdn.sun.ac.za/100/ProductionFooter.jpg]https://www.sun.ac.za/english/about-us/strategic-documents
The integrity and confidentiality of this email are governed by these terms. Disclaimerhttps://www.sun.ac.za/emaildisclaimer Die integriteit en vertroulikheid van hierdie e-pos word deur die volgende bepalings bereël. Vrywaringsklousulehttps://www.sun.ac.za/emaildisclaimer
Hello,
I am sorry that you have encountered this issue. I have updated powsimR to be compatible with the newest Bioconductor release (MAST and scater had some name changes of functions and DEDS is deprecated). I hope you will give it another go.
Feel free to contact me again.
Best Beate
Hi, I am trying to install "powsimR" in R version 4.0.0. But I am encountering the following error. Can you please help me to resolve the issue.
Thanks Ramachandra