Last active
December 10, 2015 11:09
-
-
Save wakuteka/4426129 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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