Use of clusterProfiler R package
1
0
Entering edit mode
5.8 years ago

I want to know what input type compareCluster supports? I performed fuzzy c-means clustering using Mfuzz & now i want to calculate enriched functional categories of each gene clusters.My initial data for clustering was of 91 uniprot ids across three time points.I did this after clustering to have uniprot ids & their cluster belonging-

dat <- data.frame(cl$cluster) colnames(dat)<-c("CLUSTER") write.csv(file="mfuzz.clusters.csv",dat,row.names=TRUE)

Example here which is from vignette - data(gcSample) ck <- compareCluster(geneCluster = gcSample, fun = "enrichKEGG") plot(ck)

functional enrichment • 1.8k views
ADD COMMENT
1
Entering edit mode
5.8 years ago

The documentation tells you pretty much exactly what it takes for input. You can pass it a bunch of named lists with the genes for each cluster and it will use that. Or you can use the formula approach as described. I really have no idea what your dataframe looks like without a few lines of example code, so it's tough to help you further.

ADD COMMENT

Login before adding your answer.

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