Remove string from Seurat Object
Quick question which is taking me forever. Anyone have suggestions on how to remove the string following "FLOX_AO1" on the "SAMPLES" column? Yes, I've looked at resources but no solutions as of yet.
• 1,157 views
•
link
0 answers
No answers yet.
Log in to answer this question.
object$SAMPLES <- sub("FLOX_AO1_","",object$SAMPLES). I personally prefer to act directly on the metadataobject@meta.data$SAMPLES <- ...