question about topTable in limma
1
0
Entering edit mode
@samane-fazeli-4614
Last seen 9.8 years ago
Hello Dear all I have a question about topTable in limma package. Can i specify parameters of interest in topTable, i.e. it gives me specific parameters such as adj.P-value and logFC, not ID and names columns because both of them are caused to disorder output file of topTable. I would like to process our data in excel limma(library) targets=readTargets("ApoAITargets.txt") RG=read.maimages(targets$FileName, source="spot") MA=normalizeWithinArrays(RG, method="loess") controlRef=rep(1,16) KOcontrol=c(rep(0,8),rep(1,8)) design=cbind(controlRef,KOcontrol) fit=lmFit(MA,design) fit=eBayes(fit) option(digits=3) result=topTable(fit, coef=2, number=6384, adjust="BH") as.matrix(result) write.csv(result,file="printtiploess.csv", quote=FALSE, col.names=TRUE, sep=",") Regards -- *S. Fazeli MSc Student of Chem. Eng. ferdowsi University mashhad Iran* [[alternative HTML version deleted]]
limma PROcess limma PROcess • 913 views
ADD COMMENT
0
Entering edit mode
@sean-davis-490
Last seen 5 days ago
United States
On Mon, Apr 25, 2011 at 11:53 PM, samane fazeli <samanefazeli at="" gmail.com=""> wrote: > ???Hello > ?Dear all > ?I have a question about topTable in limma package. Can i specify > parameters of interest in > ?topTable, i.e. it gives me specific parameters such as adj.P-value > and logFC, not ID and names > ?columns because both of them are caused to disorder output file of > topTable. I would like to > ?process our data in excel > > ?limma(library) > ?????targets=readTargets("ApoAITargets.txt") > ?RG=read.maimages(targets$FileName, source="spot") > ?MA=normalizeWithinArrays(RG, method="loess") > ?controlRef=rep(1,16) > ?KOcontrol=c(rep(0,8),rep(1,8)) > ?design=cbind(controlRef,KOcontrol) > ?fit=lmFit(MA,design) > ?fit=eBayes(fit) > ?option(digits=3) > ?result=topTable(fit, coef=2, number=6384, adjust="BH") > ?as.matrix(result) > ?write.csv(result,file="printtiploess.csv", quote=FALSE, col.names=TRUE, > ?sep=",") Hi. See the genelist argument to topTable(). Sean
ADD COMMENT

Login before adding your answer.

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