Closed yhan8 closed 3 years ago
We will need to figure this out, since we'll likely want to generate heatmaps for the signature features at some point in the future: https://github.com/broadinstitute/profiling-resistance-mechanisms/blob/c6953675e0381dc8d4e1285908b63735c570fad3/3.resistance-signature/7.profile-heatmaps.ipynb
@shntnu @gwaygenomics I am following up on this
sorry to say @yhan8 - but these kinds of things are your responsibility to figure out :)
Part of being a data scientist is troubleshooting package installations. It might take some frustration (believe me, I have spent whole DAYS trying to install a package), but once you persevere through, the next time will be easier (less frustration).
Feel free to use this issue to document any roadblocks you encounter in the process.
sorry to say @yhan8 - but these kinds of things are your responsibility to figure out :)
Part of being a data scientist is troubleshooting package installations. It might take some frustration (believe me, I have spent whole DAYS trying to install a package), but once you persevere through, the next time will be easier (less frustration).
Feel free to use this issue to document any roadblocks you encounter in the process.
No worries @gwaygenomics! Just thought that you already installed this successfully on your end and Shantanu is more familiar with R, maybe you two would have a shortcut idea on where to go with this :) I'll do some digging and follow up on this later.
Turns out the way to make this package work is to remove the @a387b860186be1d09249128be1ff46d13101e45d
The correct code to install this package is as below:
if (!("ComplexHeatmap" %in% rownames(installed.packages()))) { install_github("jokergoo/ComplexHeatmap") } suppressPackageStartupMessages(library(ComplexHeatmap))
Great! Glad it was that simple!
Script 3.resistance/signature/7.profile-heatmaps.ipynb requires an R package of ComplexHeatmap which requires the package of Cairo. https://anaconda.org/conda-forge/r-cairo. Cairo seems like an O.S. package (I am not sure though). I installed the Cairo package in brew but still cannot implement the package ComplexHeatmap successfully.