-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathct_values of reference genes
51 lines (45 loc) · 1.72 KB
/
ct_values of reference genes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
library(pcr)
library(tidyverse)
library(ggbreak)
#differentiation
ct <- read_csv('ct_value_ref_gene_on_dif.csv')
graph <- ct%>%
mutate(gene = factor(gene, levels = c('Actb', 'B2m', 'Gapdh','Gusb',
'Hprt', 'Pgk1', 'Rer1', 'Rpl13a',
'Rps18', 'Tbp', 'Tubb5', 'Ubc', 'Sdha')))%>%
group_by(gene,date)%>%
ggplot(aes(x = gene, y = ct_value,
fill = date)) +
geom_boxplot()+
labs(x = '', y = 'Ct values') +
theme(axis.text.x = element_text(hjust = 1, angle = 45),
panel.spacing = unit(1, 'mm'),
panel.grid = element_blank(),
strip.background = element_blank(),
axis.title.x = element_text(size = 0))+
ylim(14, 31)
graph
ggsave(plot = graph,
filename = 'ct values of candidate genes on differentiations_fill.png',
width = 9, height = 6,dpi = 300)
#Nore-induced thermogenesis
ct <- read_csv('ct_value_ref_gene_on_Nore.csv')
graph <- ct%>%
mutate(gene = factor(gene, levels = c('Actb', 'B2m', 'Gapdh','Gusb',
'Hprt', 'Pgk1', 'Rer1', 'Rpl13a',
'Rps18', 'Tbp', 'Tubb5', 'Ubc', 'Sdha')))%>%
group_by(gene,date)%>%
ggplot(aes(x = gene, y = ct_value,
fill = date)) +
geom_boxplot()+
labs(x = '', y = 'Ct values') +
theme(axis.text.x = element_text(hjust = 1, angle = 45),
panel.spacing = unit(1, 'mm'),
strip.background = element_blank(),
axis.title.x = element_text(size = 0),
panel.grid = element_blank())+
ylim(13, 30)
graph
ggsave(plot = graph,
filename = 'ct values of candidate genes on Nore-induced thermogenesis_fill.png',
width = 9, height = 6,dpi = 300)