https://r-charts.com/distribution/boxplot-function/
pdf(paste0(fname, "_non_vs_normalized.pdf"))
par(mar=c(1, 4, 2, 1))
par(mfrow = c(2, 1))
boxplot(log_ndds, notch=TRUE,
main = "Non-normalized read counts",
ylab="log2(read counts + 1)", names=NA,
cex = .2, col = meta$color, border = 8, medcol = 3,
outlwd = 0.5, boxlwd = 0.1, whisklwd =0.2)
boxplot(log_dds, notch=TRUE,
main = "Size-factor-normalized read counts",
ylab="log2(read counts + 1)", names=NA,
cex = .2, col = meta$color, border = 8, medcol = 3,
outlwd = 0.5, boxlwd = 0.1, whisklwd =0.2)
dev.off()
- mar=c(bottom, left, top, right)
- names : tick label
- cex : size of outlier
- border : border color
- medcol : medium point color
- outlwd : outlier line width
- boxlwd : box line width
- whisklwd : whisker line width
'R' 카테고리의 다른 글
[R] predict (0) | 2021.10.19 |
---|---|
[R] Enhanced Volcano plot (0) | 2021.10.12 |
[R] install packages (0) | 2021.10.05 |
[R] basic (0) | 2021.05.25 |
[R] Clustering (0) | 2020.12.30 |
댓글