Entering edit mode
5.8 years ago
yuhongruoyi
▴
10
I add some columns of custom metadata by using the Seurat v3.X command object$name <- vector
, but I can't delete these columns, such as "time"
, "hours"
. I try many many ways, like subset, subsetdata, and test.tc11$hours <- NULL
, all them didn't work.
Can you help me?
> test.tc11$hours <- rep("E14",7303)
> tail(x = test.tc11[[]])
orig.ident nCount_RNA nFeature_RNA percent.mito RNA_snn_res.0.8 letter.idents time DAY hours
A_TTTGTCACATTGGTAC SeuratProject 3987 1775 0 7 H E11 E14 E14
A_TTTGTCAGTAAGTGGC SeuratProject 4299 1992 0 7 H E11 E14 E14
A_TTTGTCAGTAGGACAC SeuratProject 6994 2448 0 0 A E11 E14 E14
A_TTTGTCAGTAGGCATG SeuratProject 7906 2588 0 4 E E11 E14 E14
A_TTTGTCAGTCTCATCC SeuratProject 24778 5035 0 8 I E11 E14 E14
A_TTTGTCAGTTCTGTTT SeuratProject 8209 2628 0 2 C E11 E14 E14
0
Entering edit mode
ADD REPLY
• link
5.8 years ago by
Bastien Hervé
5.9k