摘要: 需求: 一张图片,想知道到底是什么颜色, 在R语言中的颜色系统中。 测试图片如下: 001、 install.packages("colorfindr") ## 安装包 library("colorfindr") ## 加载包 get_colors( img = "aa.png", min_shar 阅读全文
posted @ 2024-04-29 15:08 小鲨鱼2018 阅读(0) 评论(0) 推荐(0) 编辑
摘要: 001、 https://palettegenerator.com/ https://www.jianshu.com/p/52f0764179d9 阅读全文
posted @ 2024-04-29 12:05 小鲨鱼2018 阅读(1) 评论(0) 推荐(0) 编辑
摘要: jre 和 jdk的关系 阅读全文
posted @ 2024-04-24 12:52 小鲨鱼2018 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 001、测试数据 [root@pc1 test02]# ls a.txt [root@pc1 test02]# cat a.txt 01 02 03 04 05 06 07 08 09 10 11 12 [root@pc1 test02]# cat -A a.txt ## 测试数据中包括什么也无、空 阅读全文
posted @ 2024-04-24 10:07 小鲨鱼2018 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 001、下载镜像源 a、地址 清华镜像源:https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/ b、下载最新版本, 注意两点:1、最新的,可以参考后边的发布日期; 2、选择linux版本,架构选x86_64的 002、确认一下系统 [root@ 阅读全文
posted @ 2024-04-23 13:17 小鲨鱼2018 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 001、问题 Error: --recode does not support multipass recoding of very large files. (base) [root@pc1 test01]# plink --bfile f1 --sheep --recode tab --out 阅读全文
posted @ 2024-04-23 10:52 小鲨鱼2018 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 001、生成fst值得z分数 即:(观测值-平均值)/标准差 dat <- read.table("fst.fst", header = T) head(dat, 3) dat$z_score <- (dat$FST - mean(dat$FST))/sd(dat$FST) ## 在原来数据上新增一 阅读全文
posted @ 2024-04-22 18:19 小鲨鱼2018 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 001、问题 (base) [root@pc1 src]# treemix treemix: error while loading shared libraries: libgsl.so.27: cannot open shared object file: No such file or dir 阅读全文
posted @ 2024-04-21 18:14 小鲨鱼2018 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 001、 基础绘图 library(ggplot2) p <- ggplot(faithful, aes(x = eruptions, y = waiting)) + geom_point() p 002、调整标签刻度到绘图区域的间距 p + theme(axis.text.x = element_ 阅读全文
posted @ 2024-04-17 11:56 小鲨鱼2018 阅读(2) 评论(0) 推荐(0) 编辑
摘要: R语言中pch对照表: 。 阅读全文
posted @ 2024-04-10 20:49 小鲨鱼2018 阅读(22) 评论(0) 推荐(0) 编辑