坐山雕

导航

2021年4月28日

binom_test

摘要: bt ← function(a, b, p = 0.5) {binom.test(a, b+a, 0.5, alternative= c("two.sided"), conf.level = 0.95)$p.value} #counts$pVal ← mapply(bt, counts$small, 阅读全文

posted @ 2021-04-28 16:13 坐山雕 阅读(140) 评论(0) 推荐(0) 编辑

awk sub string

摘要: cat TFY1C.txt|awk '{print $0"\t"substr($4,1,4)}'> TFY1CRID.tx 1--从那位开始 4--多长 阅读全文

posted @ 2021-04-28 12:00 坐山雕 阅读(62) 评论(0) 推荐(0) 编辑

pretty break

摘要: scale_x_continuous( breaks = pretty_breaks(10),labels=scales::comma)+ x ← 1:4 y ← c(0, 0.0001, 0.0002, 0.0003) dd ← data.frame(x, y) scientific_10 ← f 阅读全文

posted @ 2021-04-28 11:18 坐山雕 阅读(64) 评论(0) 推荐(0) 编辑