Hey everyone,
i analysed my Illumina data with edgeR. I have to say that i am relativ new to bioinformatics and i find it hard, to decide, whether my genes are up or down regulated.
I comared two groups: 1h vs 0h
And now i want to know, if genes in 1h are up/down regulatet compared to 0h.
I used the following code to filter my results table:
The Problem is, that i got the following results:
DOWN UP
372 1376
But there is also a bild in function to summarize the up/down regulation which brings:
[,1]
-1 103
0 39645
1 198
Is it wrong that i said, that logFC >0 = UP? And i am not sure how the logFC rates are being calculated! Is it logFC= (1h/0h) when compared 1h vs 0h or the other way round???
I am really puzzeld and i hope someone can halp me!
i analysed my Illumina data with edgeR. I have to say that i am relativ new to bioinformatics and i find it hard, to decide, whether my genes are up or down regulated.
I comared two groups: 1h vs 0h
And now i want to know, if genes in 1h are up/down regulatet compared to 0h.
I used the following code to filter my results table:
Code:
et <- glmLRT(fit, coef=2)
dge=et$table
dge=subset(dge, PValue <= 0.05)
direction=vector()
for (i in 1:length(dge$logFC))
{
if (dge$logFC[i] > 0)
{direction[i] = c("UP")}
else
{direction[i] = c("DOWN")}
}
direction=as.factor(direction)
DOWN UP
372 1376
But there is also a bild in function to summarize the up/down regulation which brings:
Code:
summary(dt <- decideTestsDGE(et))
-1 103
0 39645
1 198
Is it wrong that i said, that logFC >0 = UP? And i am not sure how the logFC rates are being calculated! Is it logFC= (1h/0h) when compared 1h vs 0h or the other way round???
I am really puzzeld and i hope someone can halp me!
Comment