1
### R code from vignette source 'cummeRbund-example-workflow.Rnw'
3
###################################################
4
### code chunk number 1: init
5
###################################################
9
###################################################
10
### code chunk number 2: loadLib
11
###################################################
15
###################################################
16
### code chunk number 3: read
17
###################################################
18
cuff <- readCufflinks(dir=system.file("extdata", package="cummeRbund"))
22
###################################################
23
### code chunk number 4: model_fit_1
24
###################################################
25
d<-dispersionPlot(genes(cuff))
29
###################################################
30
### code chunk number 5: model_fit_1_plot
31
###################################################
32
d<-dispersionPlot(genes(cuff))
37
###################################################
38
### code chunk number 6: rep_boxplot_1
39
###################################################
40
pBoxRep<-csBoxplot(genes(cuff),replicates=T)
44
###################################################
45
### code chunk number 7: rep_dendro_1
46
###################################################
47
pDendro<-csDendro(genes(cuff),replicates=T)
51
###################################################
52
### code chunk number 8: rep_boxplot_1_plot
53
###################################################
54
pBoxRep<-csBoxplot(genes(cuff),replicates=T)
59
###################################################
60
### code chunk number 9: rep_dendro_1_plot
61
###################################################
62
pDendro<-csDendro(genes(cuff),replicates=T)
67
###################################################
68
### code chunk number 10: boxplot_1
69
###################################################
70
pBox<-csBoxplot(genes(cuff))
74
###################################################
75
### code chunk number 11: boxplot_1_plot
76
###################################################
77
pBox<-csBoxplot(genes(cuff))
82
###################################################
83
### code chunk number 12: diff_exp_genes_1
84
###################################################
85
sigGeneIds<-getSig(cuff,alpha=0.05,level="genes")
90
###################################################
91
### code chunk number 13: diff_exp_genes_2
92
###################################################
93
hESCvsFibroblast.sigGeneIds<-getSig(cuff,"hESC","Fibroblasts",alpha=0.05,level="genes")
94
head(hESCvsFibroblast.sigGeneIds)
95
length(hESCvsFibroblast.sigGeneIds)
98
###################################################
99
### code chunk number 14: diff_exp_genes_3
100
###################################################
101
sigGenes<-getGenes(cuff,sigGeneIds)
105
###################################################
106
### code chunk number 15: diff_exp_feat_1
107
###################################################
108
sigGeneIds<-getSig(cuff,alpha=0.05,level="isoforms")
113
###################################################
114
### code chunk number 16: ind_gene_1
115
###################################################
116
Pink1<-getGene(cuff,'PINK1')