interactivereport / cellxgene_VIP

Enables cellxgene to generate violin, stacked violin, stacked bar, heatmap, volcano, embedding, dot, track, density, 2D density, sankey and dual-gene plot in high-resolution SVG/PNG format. It also performs differential gene expression analysis and provides a Command Line Interface (CLI) for advanced users to perform analysis using python and R.
https://cellxgenevip-ms.bxgenomics.com
MIT License
129 stars 44 forks source link

Cairo R package installation #68

Closed wanliw96 closed 2 years ago

wanliw96 commented 2 years ago

Hi,

I was trying to install R package Cairo using R -q -e 'if(!require(Cairo)) devtools::install_version("Cairo",version="1.5-12",repos = "http://cran.us.r-project.org")'

And I get this error message:

configure: error: Cannot find cairo.h! Please install cairo (http://www.cairographics.org/) and/or set ### CAIRO_CFLAGS/LIBS correspondingly. ERROR: configuration failed for package ‘Cairo’

Maybe any system installation is needed before this?

Thanks!

haessar commented 2 years ago

If you are on Debian/Ubuntu, try running the following beforehand: sudo apt install libcairo2-dev