How to change sample names in featureCounts or edgeR
1
0
Entering edit mode
Gary ▴ 20
@gary-7967
Last seen 5.2 years ago

Hi,
I used STAR, featureCounts, and edgeR for RNA-Seq alignment, quantification, and differentially expressed analysis. Could you teach me how to change sample names, e.g. using Chuong533 instead of Users.gary.Documents.Project.20180429_ZebraFinchColor.20180508_Analysis.featurecounts.Chuong553.bam. Please see the detail below and many thanks.

Best,
Gary

The detail
http://68.181.92.180/~Gary/temporal/Bioconductor_20180617.txt

featurecounts edgeR • 1.7k views
ADD COMMENT
1
Entering edit mode
@gordon-smyth
Last seen 2 hours ago
WEHI, Melbourne, Australia

Continuing the code I gave you previously ( How edgeR reads an R List object produced by featureCounts )

rc <- featureCounts(...)
y <- DGEList(rc$counts)
colnames(y) <- paste0("Chuong",553:656)

 

ADD COMMENT
0
Entering edit mode

Thank you so much!

ADD REPLY

Login before adding your answer.

Traffic: 869 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