Skip to content

Instantly share code, notes, and snippets.

@wakuteka
Last active December 10, 2015 11:09
Show Gist options
  • Save wakuteka/4426129 to your computer and use it in GitHub Desktop.
Save wakuteka/4426129 to your computer and use it in GitHub Desktop.
library(cummeRbund)
packagePath <- system.file(package="cummeRbund")
extdataPath <- paste(packagePath, "/extdata", sep = "")
cuff <- readCufflinks(extdataPath,rebuild=TRUE)
my.fpkmMatrix <- fpkmMatrix(genes(cuff))
plot(x=my.fpkmMatrix$"hESC",
y=my.fpkmMatrix$"Fibroblasts",
log="xy",
xlim=c(0.1,1E+06),ylim=c(0.1,1E+06),pch=20)
my.gene<- my.fpkmMatrix[which.max(my.fpkmMatrix$"hESC"),]
points(x=my.gene$"hESC",y=my.gene$"Fibroblasts",col="red",pch=19)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment