data("IlluminaBodymap")
data("IlluminaBodymapMeta")
set.seed(1000) #fixed randomness
isoform_ids <- Name_to_RefSeq(c("HIF1A","EGFR","MYH7","CD33","BRCA2"))
rows_of_interest <- unique( c( isoform_ids ,
sample(rownames(IlluminaBodymap),
size=500,replace=FALSE)))
G <- GSEPD_INIT(Output_Folder="OUT",
finalCounts=round(IlluminaBodymap[rows_of_interest , ]),
sampleMeta=IlluminaBodymapMeta,
COLORS=c("green","black","red"))
G <- GSEPD_ChangeConditions( G, c("A","B")) #set testing groups first!
G <- GSEPD_Process( G ) #have to have processed results to plot them
GOT <- "GO:0012345" # specify a GO Term you'd like to review
#it should be present in the MERGE file.
MergeFile <- list.files(G$Output_Folder, pattern="MERGE")[1]
MDATA<-read.csv(sprintf("%s%s%s", G$Output_Folder, .Platform$file.sep, MergeFile),
as.is=TRUE,header=TRUE)
GOT=MDATA$category[1] #choose a GO term that is definitely in the output data.
GSEPD_PCA_Spec(G, GOT,MDATA=MDATA)Run the code above in your browser using DataLab