You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed a discrepancy with cascading effects when I followed the instruction. During DE analysis, a file called "WT.C_v_WT.NC.txt" is generated and used during pathway analysis:
DE_Analysis_mm.md
9. Write top.table to a file, adding in cpms and annotation
1. topGO Example - Using Kolmogorov-Smirnov Testing
Our first example uses Kolmogorov-Smirnov Testing for enrichment testing of our mouse DE results, with GO annotation obtained from the Bioconductor database org.Mm.eg.db.
The first step in each topGO analysis is to create a topGOdata object. This contains the genes, the score for each gene (here we use the p-value from the DE test), the GO terms associated with each gene, and the ontology to be used (here we use the biological process ontology)
I believe two different files called WT.C_v_WT.NC.txt are used because their p-values are not consistent in the above two .md files. (compare last column P.value in the first .md file and the 2nd line in the second .md file) I think this issue has some bad consequences as all the downstream analyses are affected and I could not reproduce the results. As I cannot find any files called WT.C_v_WT.NC.txt on GitHub, I would appreciate it if you confirm and resolve this issue.
Best wishes,
Yige
The text was updated successfully, but these errors were encountered:
Hi there,
I noticed a discrepancy with cascading effects when I followed the instruction. During DE analysis, a file called "WT.C_v_WT.NC.txt" is generated and used during pathway analysis:
DE_Analysis_mm.md
9. Write top.table to a file, adding in cpms and annotation
top.table$Gene <- rownames(top.table)
top.table <- top.table[,c("Gene", names(top.table)[1:6])]
top.table <- data.frame(top.table,anno[match(top.table$Gene,anno$Gene.stable.ID),],logcpm[match(top.table$Gene,rownames(logcpm)),])
head(top.table)
write.table(top.table, file = "WT.C_v_WT.NC.txt", row.names = F, sep = "\t", quote = F)
enrichment_mm.md
1. topGO Example - Using Kolmogorov-Smirnov Testing
Our first example uses Kolmogorov-Smirnov Testing for enrichment testing of our mouse DE results, with GO annotation obtained from the Bioconductor database org.Mm.eg.db.
The first step in each topGO analysis is to create a topGOdata object. This contains the genes, the score for each gene (here we use the p-value from the DE test), the GO terms associated with each gene, and the ontology to be used (here we use the biological process ontology)
infile <- "WT.C_v_WT.NC.txt"
tmp <- read.delim(infile)
geneList <- tmp$P.Value
xx <- as.list(org.Mm.egENSEMBL2EG)
names(geneList) <- xx[sapply(strsplit(tmp$Gene,split="\."),"[[", 1L)]
head(geneList)
I believe two different files called WT.C_v_WT.NC.txt are used because their p-values are not consistent in the above two .md files. (compare last column P.value in the first .md file and the 2nd line in the second .md file) I think this issue has some bad consequences as all the downstream analyses are affected and I could not reproduce the results. As I cannot find any files called WT.C_v_WT.NC.txt on GitHub, I would appreciate it if you confirm and resolve this issue.
Best wishes,
Yige
The text was updated successfully, but these errors were encountered: