Renaming features for the purpose of integration #8999
Replies: 2 comments 1 reply
-
Firstly, it would be good to double check you're working with what you'd expect. The difference in case between gene names would suggest you're working with human (ZXDB) and mouse (Zxdb) genes. The advice the developers have given previously is to rename your counts matrix before you run You can hackily do it by |
Beta Was this translation helpful? Give feedback.
-
Thanks for pointing that out. I was using an old version of the target dataset that used the wrong reference. Still, I would prefer to use accessions as feature names and just switch to gene names (or other naming) when actually needed (e.g., integration).
Are there currently any docs on renaming features (e.g., renaming via Thanks for your help! |
Beta Was this translation helpful? Give feedback.
-
The features in my scRNA-seq dataset are uppercase (e.g.,
ZXDB
), while the features in my reference scRNA-seq dataset are capitalized (e.g.,Zxdb
). I thought that it would be trivial to change the reference features to all uppercase, but renaming features appears to be non-trivial for a Seurat object.There is a RenameCells function and a RenameAssays function, but I don't see any
RenameFeatures
function.Can someone please point me to docs on the "correct" way of renaming features in a Seurat object?
Beta Was this translation helpful? Give feedback.
All reactions