Question: How to change sample names in featureCounts or edgeR
0
gravatar for Gary
13 months ago by
Gary10
Gary10 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 • 306 views
ADD COMMENTlink modified 13 months ago by Gordon Smyth37k • written 13 months ago by Gary10
Answer: How to change sample names in featureCounts or edgeR
1
gravatar for Gordon Smyth
13 months ago by
Gordon Smyth37k
Walter and Eliza Hall Institute of Medical Research, Melbourne, Australia
Gordon Smyth37k 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 13 months ago • written 13 months ago by Gordon Smyth37k

Thank you so much!

ADD REPLYlink written 13 months ago by Gary10
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: 197 users visited in the last hour