Skip to content

Error in plotEnrichHeatmap for Motif Enrichment Analysis #473

@jbjela

Description

@jbjela

PLEASE FILL OUT THE RELEVANT INFORMATION AND DELETE THE UNUSED PORTIONS OF THIS ISSUE TEMPLATE.

Attach your log file
ArchR-plotEnrichHeatmap-7fc6549babd-Date-2020-12-17_Time-11-59-13.log

Describe the bug
I attempted to perform motif enrichment on the marker peaks identified using getMarkerFeatures(). I then used the SummarizedExperiment output to directly plot these motif enrichments across all cell groups using the plotEnrichHeatmap() function. However, I received the following error after using plotEnrichHeatmap():

heatmapEncode <- plotEnrichHeatmap(enrichMotifs, n = 7, transpose = TRUE)
#ArchR logging to : ArchRLogs/ArchR-plotEnrichHeatmap-7fc6549babd-Date-2020-12-17_Time-11-59-13.log
#If there is an issue, please report to github with logFile!
#Error in names(x) <- value :
#names attribute [13] must be the same length as the vector [0]

My enrichMotifs variable looks as expected, so Im not sure what the issue is:

enrichMotifs
#class: SummarizedExperiment
#dim: 870 13
#metadata(0):
#assays(10): mlog10Padj mlog10p ... CompareFrequency feature
#rownames(870): TFAP2B_1 TFAP2D_2 ... TBX18_869 TBX22_870
#rowData names(0):
#colnames(13): C1 C2 ... C12 C13
#colData names(0):

To Reproduce
I was able to perform this action with the tutorial dataset

Expected behavior
A expected that a heatmap plot of enriched TF motifs throughout the clusters in my dataset would be produced.

Thank you.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinghelp wantedExtra attention is neededlikely solvedLikely now a solved issue.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions