美文网首页
超酷的ggstatsplot包

超酷的ggstatsplot包

作者: pudding815 | 来源:发表于2022-11-26 23:37 被阅读0次

整理好的数据格式

ggbetweenstats(

  data  = all.tpm.clean,

  x    = E.type_0h,

  centrality.type = 'nonparametric',

  type = 'nonparametric',

  y    = log2_0h,

  point.args = list(position = ggplot2::position_jitterdodge(dodge.width = 0.2), alpha

                    = 2, size = 1, stroke =0),

  title = "0h enhancer associated gene",

  xlab = 'Enhacner type',

  ylab = 'Log2(average(TPM) + 1)'

)

## 4h

ggbetweenstats(

  data  = all.tpm.clean,

  x    = E.type_4h,

  centrality.type = 'nonparametric',

  type = 'nonparametric',

  y    = log2_4h,

  point.args = list(position = ggplot2::position_jitterdodge(dodge.width = 0.2), alpha

                    = 2, size = 1, stroke =0),

  title = "4h enhancer associated gene",

  xlab = 'Enhacner type',

  ylab = 'Log2(average(TPM) + 1)'

)

相关文章

网友评论

      本文标题:超酷的ggstatsplot包

      本文链接:https://www.haomeiwen.com/subject/kfrhfdtx.html