Remove column from Seurat metadata
1
0
Entering edit mode
12 months ago
gorizwango ▴ 30

How can I remove a particular entry in my metadata table in Seurat? Like I have a dataframe named seu which has different objects assessed through @, and in each object we have several entries which can assessed through $.

seu@meta.data[["percent.globin"]]

So, if I need to remove an entry inside metadata object, how can I do that?

single-cell transcriptomics cell-type-annotation RNAseq • 2.0k views
ADD COMMENT
1
Entering edit mode
12 months ago

Try setting it to NULL.

seu$percent.globin <- NULL
ADD COMMENT
0
Entering edit mode

Thanks for the help mate. it worked.

ADD REPLY

Login before adding your answer.

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