seurat-object icon indicating copy to clipboard operation
seurat-object copied to clipboard

Add possibility to rename features

Open frederikziebell opened this issue 5 years ago • 5 comments

Since there is a RenameCells() function, it would be helpful to also have a function to rename features. The current advice is to create a new assay object with renamed features, which can be very memory intensive.

frederikziebell avatar Feb 02 '21 15:02 frederikziebell

Hi Frederik, we are aware that this is a highly-requested feature. We are investigating ways to make this happen (it's a bit more complicated that just renaming the matrices in the Assay object) and will update if/when we make any progress on this.

mojaveazure avatar Feb 12 '21 23:02 mojaveazure

Hello - I realize this is tangential to the issue above, but I just thought I'd mention it: having the ability to alias features in plots/report would be incredibly useful. The use-case is that the GTF commonly uses the NCBI/Ensembl identifier, and this actually makes a great deal of sense to do. This makes them unique and it preserves unambiguous connection to the source if anyone wants to query the source DB. However, one almost never wants to use those labels in a figure. From what I can see seurat objects tend to preferentially use GeneName, which is better, but it would be nicer still if one could update the [email protected], such as re-naming those features of highest interest to the user. A good example would be gene name vs. CD nomenclature, such as labeling a feature "CD95/FAS".

I realize it's probably a sizable change to make feature has a distinct ID and label that's respected across all plotting code; however, the first step is probably getting the assay objects to have some formal concept of that.

bbimber avatar May 10 '21 16:05 bbimber

Any update on this feature? Thank you @mojaveazure!

denvercal1234GitHub avatar Feb 28 '23 08:02 denvercal1234GitHub

Also wondering about an update for this!! Thank you so much for the great tool already :)

Lil-Psilocybe avatar Sep 02 '23 17:09 Lil-Psilocybe

Following up on this thread...

blah-ctrl avatar Jul 24 '24 21:07 blah-ctrl