Question: How to change sample names in featureCounts or edgeR
0
gravatar for Gary
9 months ago by
Gary0
Gary0 wrote:

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

edger featurecounts • 231 views
ADD COMMENTlink modified 9 months ago by Gordon Smyth36k • written 9 months ago by Gary0
Answer: How to change sample names in featureCounts or edgeR
1
gravatar for Gordon Smyth
9 months ago by
Gordon Smyth36k
Walter and Eliza Hall Institute of Medical Research, Melbourne, Australia
Gordon Smyth36k wrote:

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 COMMENTlink modified 9 months ago • written 9 months ago by Gordon Smyth36k

Thank you so much!

ADD REPLYlink written 9 months ago by Gary0
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 261 users visited in the last hour