Hi,
I am working in R environment and I have a long list of gene names which I am showing few first objects of it here:
[1] SPNCRNA.1436,omh5,snR95
[2] snR46
[3] snR10
[4] SPNCRNA.1651,SPNCRNA.515
[5] snR42
[6] SPNCRNA.1094,SPNCRNA.1095,SPRRNA.47,SPRRNA.48
[7] snR88
[8] SPNCRNA.497
[9] SPSNORNA.54
[10] snoR39b
I am wondering if there is any way to split the indexes with several gene names in them into individual ones? The list is so long.
Thanks!
Thanks for your time writing the code. The thing is the gene list contains about 500 entries and I need to apply it to whole list. Besides the gene names are not alternative names of one gene. So only splitting them would be enough. I appreciate if you could give some help on that.
I've just added more details on my answer. HTH.
added some edits too, it can handle any number of entries, no matter if 10 or 500
Thank you guys both. Sorry for replying late. I've been caught up with some stuff.
The code you showed me was a big lesson.
Cheers!