Heatmap plotting variable deviation or Z- scores of TF motifs #698
Replies: 3 comments 2 replies
-
Hey, did you perhaps try to subset the project at any point to generate these matrices? There's a pretty common bug that if you subset prior to an analysis plotMarkerHeatmap won't work as NAs were introduced |
Beta Was this translation helpful? Give feedback.
-
This may be better handled as an issue report. Please check the output getMarkerFeatures and compare it to what it should look like based on the tutorial data. If you cannot figure out your problem, post it as an issue and include a detailed report of what you have tried and include the log file. |
Beta Was this translation helpful? Give feedback.
-
Hello, Is there a way to export data (See attached plot)? I want to plot it in other way. Many thanks, heatmapPeaks <- plotMarkerHeatmap( |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
We have tried to do a heatmap plotting variable deviation or Z- Scores of TF motifs. We have applied getMarkerFeatures() using useSeqnames to select "z" or "deviation". This worked, but when we tried plotMarkerHeatmap(), it didn't worked. We noticed that this function generate before a heatmap of clusters but not at single nucleus as the one from peak2gene plot for example.
Anyway, we obtained the matrices so we can try outside of ArchR, but we are sure it is possible to get it from ArchR. Sorry if we am missing an existing function or path!
Thanks for ArchR! It is a fantastic tool ♡ !
markerMotifs <- getFeatures(peakCalls_Matrix, useMatrix = "MotifMatrix")
markerMotifs <- grep("z:", markerMotifs, value = TRUE)
markersMM.slctRes <- getMarkerFeatures(
ArchRProj = peakCalls_Matrix,
useMatrix = "MotifMatrix",
groupBy = paste("Clusters",slct.res,sep="."),
#bias = c("TSSEnrichment", "log10(nFrags)"),
useSeqnames="z",
testMethod = "wilcoxon"
)
plotMarkerHeatmap(
seMarker = markersMM.slctRes,
transpose = FALSE
)
ArchR logging to : ArchRLogs/ArchR-plotMarkerHeatmap-2489c485ee347-Date-2021-04-16_Time-19-27-34.log
If there is an issue, please report to github with logFile!
Error in bS[[1]][, colnames(mat), drop = FALSE] : indice hors limites
De plus : Warning message:
In plotMarkerHeatmap(seMarker = markersMM.slctRes, returnMatrix = FALSE, :
production de NaN
Beta Was this translation helpful? Give feedback.
All reactions