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

Thank you so much!

ADD REPLYlink written 16 months ago by Gary20
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: 121 users visited in the last hour