You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the following error : Error in [.data.frame(sample@meta.data, , col_name) :
undefined columns selected
In addition: Warning message:
! Found dashes (-) in the name of the gene sets provided. Replacing them with dots (.) to avoid conflicts when generating the Seurat assay.
It worked before, but not anymore, and I don't understand what I have to change. Does anyone could help me ?
Alexis
The text was updated successfully, but these errors were encountered:
It seems a problem with the names of the list. Dashes are particularly problematic as they transform into dots when computing enrichment scores. To try to fix it, I also change them to retrieve the enrichment score columns from the metadata afterwards, but apparently, something went wrong along the way.
Which version of SCpubr are you using?
Can you try to remove any special characters from your names. I.E: INF-TAMs --> INFTAMs and Infla-TAMs --> InflaTAMs.
Let me know if the issue still persists after trying that!
Best,
Enrique
enblacar
changed the title
BUG | FUNCTION NAME | BRIEF DESCRIPTION
BUG | do_EnrichmentHeatmap | Undefined columns selected when providing named lists with dashes on the names.
Feb 8, 2024
Hi,
I encountered n issue when running "SCpubr::do_EnrichmentHeatmap".
Here is the code :
I have the following error :
Error in
[.data.frame
(sample@meta.data, , col_name) :undefined columns selected
In addition: Warning message:
! Found dashes (-) in the name of the gene sets provided. Replacing them with dots (.) to avoid conflicts when generating the Seurat assay.
It worked before, but not anymore, and I don't understand what I have to change. Does anyone could help me ?
Alexis
The text was updated successfully, but these errors were encountered: