Skip to content
Snippets Groups Projects
Commit 8ef80326 authored by yunusek77's avatar yunusek77
Browse files

Upload New File

parent 82aaf126
No related branches found
No related tags found
No related merge requests found
library(clusterProfiler)
library(org.Hs.eg.db)
library(AnnotationDbi)
data <- read.table("C:/Users/Emre/Desktop/ensembl.txt", sep = "\n", header = TRUE)
genes_to_test <- data$ENSEMBLE_ID
GO_results <- enrichGO(gene = genes_to_test, OrgDb = "org.Hs.eg.db", keyType = "ENSEMBL", ont = "BP")
as.data.frame(GO_results)
fit <- plot(barplot(GO_results, showCategory = 15))
fit
GO_results2 <- enrichGO(gene = genes_to_test, OrgDb = "org.Hs.eg.db", keyType = "ENSEMBL", ont = "MF")
as.data.frame(GO_results2)
fit2 <- plot(barplot(GO_results2, showCategory = 15))
fit2
GO_results3 <- enrichGO(gene = genes_to_test, OrgDb = "org.Hs.eg.db", keyType = "ENSEMBL", ont = "CC")
as.data.frame(GO_results3)
fit3 <- plot(barplot(GO_results3, showCategory = 15))
fit3
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment