R语言处理PCR数据,一步画柱状图、添加显著性标志并实现截断
比如有如下的一个表格
library(DT)
pcr<-read.csv('~/Desktop/pcr.csv')
knitr::kable(pcr)
group | GAPDH | ST3GAL5 | X_Ct | cycle |
---|---|---|---|---|
NC | 12.17 | 23.76 | 11.59 | first |
NC | 11.88 | 23.79 | 11.91 | first |
NC | 11.92 | 23.57 | 11.65 | first |
OE | 11.81 | 19.06 | 7.25 | first |
OE | 11.66 | 19.14 | 7.48 | first |
OE | 11.59 | 18.81 | 7.22 | first |
NC | 11.66 | 24.06 | 12.40 | secend |
NC | 11.60 | 24.00 | 12.40 | secend |
NC | 11.52 | 24.16 | 12.64 | secend |
OE | 11.97 | 18.77 | 6.80 | secend |
OE | 11.85 | 18.89 | 7.04 | secend |
OE | 11.91 | 18.84 | 6.93 | secend |
NC | 12.01 | 23.98 | 11.97 | third |
NC | 12.01 | 23.99 | 11.98 | third |
NC | 11.95 | 23.80 | 11.85 | third |
OE | 11.78 | 19.89 | 8.11 | third |
OE | 11.85 | 19.75 | 7.90 | third |
OE | 11.81 | 19.47 | 7.66 | third |