ICode9

精准搜索请尝试: 精确搜索
  • R语言中基础绘图函数 par(mar)选项的作用2022-05-18 13:34:18

      001、par(mar)选项的作用是调整绘图区域距离外围框线的距离。作用和par(mai)一样, 可能只是单位不一样. par(mfrow = c(2, 2)) par(mar = c(1, 1, 1, 1)) plot(1:10, main = "mar = 1", cex.main = 3) box(which = "figure", lwd = 5) box(which = "plot", lwd = 5) par(mar

  • R语言绘制曼哈顿图——散点图2022-05-17 01:31:26

      1、 完整代码: dat <- read.table("result.fst", header = T) head(dat) chrlen <- vector() for (i in unique(dat$CHR)) { temp <- dat[dat$CHR == i,] temp <- temp[order(temp[,3], decreasing = T),] chrlen <- c(chrlen, temp[,3][1]) }

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有