Comments (3)
Hi @cmuus !
I normally use RStudio or save to pdf/png (with default parameters), and it displays ok (with ComplexHeatmap v1.17.1). However, updating to the latest version of ComplexHeatmap (in Bioconductor, v2.0.0) gives this (I guess this is what you see right?)
Changing the following:
annotation <- ComplexHeatmap::HeatmapAnnotation(df = object.cell.data[,colorBy,drop=FALSE], col = colVars, which='column', width = unit(5, "mm"))
by:
annotation <- ComplexHeatmap::HeatmapAnnotation(df = object.cell.data[,colorBy,drop=FALSE], col = colVars, which='column')
seems to give the proper output:
Did this solve the problem for you? I will make updates on the function so it works properly with any of the versions.
An alternative option to customise better your heatmap is to extract the cell-topic matrix using the function modelMatSelection().
Thanks a ton for reporting!
C
from cistopic.
Thank you for looking into it so quickly @cbravo93! This is all in line with what I see, sorry I didn't post example plots. You might want to specify height? Thanks for the modelMatSelection() hint, that's exactly what I ended up doing. I also just modified cellTopicHeatmap to output the heatmap and annotation objects. It might be too much to include in the main branch, but maybe you could include a flag that, when true, allows the user to output a tuple with heatmap and annotation?
from cistopic.
@cmuus @cbravo93
I am trying to modify the arrange of cells showing on the cisTopic heatmap. Instead of having the figure below, I would like the cells arranged by my legends. Just as @cbravo93 's plot!
I couldn't find a way to do it with cisTopic vignette. I wonder how you guys make it. Do you mind share the code or direct me to the right source?
Thanks in advance for your help.
from cistopic.
Related Issues (20)
- installation issue with ubuntu 20.04 HOT 3
- possibility to use BAM files from bulk ChIP HOT 1
- annotateRegions with own dataset HOT 1
- createcisTopicObject and genomic coordinates incompatibility error HOT 3
- input from fragments.tsv.gz? HOT 1
- Installation issue HOT 2
- Tutorial Dataset files HOT 1
- tSNE Clustering Thresholds HOT 1
- LDA run with Python and LogLikelihhod HOT 1
- How can I run cisTopic in R 4.0 HOT 2
- Ununsed Arguement error in cisTopic/TcisTarget HOT 1
- cisTopicObject <- selectModel(cisTopicObject) Error in .Call("rs_createGD") : C symbol name "rs_createGD" not in load table HOT 1
- Unused argument error while running topicsRcisTarget
- add cisTopic output to Seurat object? HOT 1
- Running Cistopic HOT 1
- Installation error "Failed to install 'unknown package' from Github: ..." HOT 1
- Loading Multiome data
- sha256sum download failed HOT 1
- Error in metadataFeather(path) : Invalid: Not a feather file HOT 3
- Missing resource cleanup in runWarpLDAModels
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cistopic.