Entering edit mode
5.3 years ago
Mithil Gaikwad
▴
50
I am following one blog RNA seq analysis - FeatureCounts and DESeq2 workflow, but I am unable to understand for what purpose does this [,5] is used
colnames(counts)[6:11]=str_split_fixed(colnames(counts)[6:11],"\\.",6)[,5]
another thing here I want to divide my data unequally i.e., in 14 and 7 then how I can modify this following command
samples=cbind(colnames(counts)[6:11],str_split_fixed(colnames(counts)[6:11],"_",3)[,2])
Here they have divided their sample into 2 equal groups each of 3 samples
I didn't find any suggestion or solution related to the str_split_fixed function. Any help or suggestion in this regard is deeply appreciated.