After DimHeatmap no histogram values
0
0
Entering edit mode
6 months ago
Sander • 0

Hi all,

I'm trying to make a nice histogram of my data. But all the time I didn't get values on the x and y axes of the histogram with the hist function. I've found out that this only occurs after running DimHeatmap. is there in DimHeatmap somewhere a settings that overrides some settings of the hist function? I'm using R version 4.4.0 with Seurat 5.1.0 on Ubuntu 22.04.4 LTS.

R Seurat DimHeatmap • 367 views
ADD COMMENT
0
Entering edit mode

It's completely unclear what you are asking. Please, in light of how you ask a good questions in fora like this, add example data, minimal code to reproduce the issue, and an example of desired outout.

ADD REPLY
0
Entering edit mode

Basically I follow this tutorial with my own data until the line with DimPlot(pbmc, reduction = "pca") + NoLegend(). Only my line is DimPlot(pbmc, reduction = "pca"). Then I run the following 3 lines:

str(airquality)

Temperature <- airquality$Temp

hist(Temperature, )

And I get this picture:

Histogram before

Then I'm running DimHeatmap(pbmc, dims = 1, cells = 500, balanced = TRUE) and then I run again:

str(airquality)

Temperature <- airquality$Temp

hist(Temperature, )

And then I get the picture depicted below without numbers on the X and Y axis.

Histogram after

And now my question is, how can I get the first picture with the numbers on the X and Y axis after running the line with the DimHeatmap

ADD REPLY
1
Entering edit mode

Please do not add answers unless you're answering the top level question. Instead, use Add Comment or Add Reply as appropriate. I've moved your post to the right location this time, please be more careful in the future.

ADD REPLY

Login before adding your answer.

Traffic: 1918 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6