AvgExpression error in seurat: invalid name for slot of class “Assay5”: check.matrix
0
0
Entering edit mode
16 months ago
AW ▴ 10

Hello,

I am trying to generate a heatmap for specific genes in my single cell dataset but I keep getting a weird error. I have previously generated a heatmap with this code before for the same dataset.

This is my code for average expression:

x <- AverageExpression(x, assays = NULL, return.seurat = TRUE)

I keep getting the error:

Counts matrix provided is not sparse. Creating V5 assay in Seurat Object.
Error in initialize(value, ...) : 
  invalid name for slot of class “Assay5”: check.matrix

Please help

10X-genomics heatmap single-cell • 2.4k views
ADD COMMENT
0
Entering edit mode
 invalid name for slot of class “Assay5”: check.matrix

Does the error message really have stylized quotes (“...” as opposed to "...")?

ADD REPLY
0
Entering edit mode

Yes the message has stylized quotes as in “Assay5”. Can you please help with this?

ADD REPLY
0
Entering edit mode

I haven't used Seurat - I'm sure other users can help you. It's just that it's odd seeing stylized quotes in programming error messages; it means the developer added them on purpose, as most code editors type out simple double quotes.

ADD REPLY

Login before adding your answer.

Traffic: 1844 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