Question: gene symbol in r
gravatar for miravet65
3.9 years ago by
miravet650 wrote:

I am having a problem in getting gene symbol after analysis GEO data.

I can get logFC, P.value but in gene.symbol only show <NA>

gset$description <- gr
design <- model.matrix(~ description + 0, gset)
colnames(design) <- levels(gr)
fit <- lmFit(gset, design)
cont.matrix <- makeContrasts("cp-np", levels=design)
fit2 <-, cont.matrix)
fit2 <- eBayes(fit2, 0.01)
tT <- topTable(fit2, adjust="fdr","B", number=Inf)

tT <- subset(tT, select=c("adj.P.Val","P.Value","logFC","Gene.symbol"))
write.table(tT, file=stdout(), row.names=F, sep="\t")


R gene • 1.8k views
ADD COMMENTlink modified 2.5 years ago by zx87549.9k • written 3.9 years ago by miravet650

I think if you set gene symbols as data frames' rownames, It is not a problem.

ADD REPLYlink written 3.9 years ago by zjhzwang180

This question lacks the required information to answer this. You should at least add some commands you ran, how can we guess what's wrong without?

ADD REPLYlink written 3.9 years ago by WouterDeCoster45k
Please log in to add an answer.


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