Off topic:featureCounts to DESeq2: Unable to form object and divide it unequally
0
0
Entering edit mode
6.5 years ago

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.

RNA-Seq featureCounts subread R DESeq2 • 1.0k views
ADD COMMENT
This thread is not open. No new answers may be added
Traffic: 3376 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