04 2024 档案

摘要:需求: 一张图片,想知道到底是什么颜色, 在R语言中的颜色系统中。 测试图片如下: 001、 install.packages("colorfindr") ## 安装包 library("colorfindr") ## 加载包 get_colors( img = "aa.png", min_shar 阅读全文
posted @ 2024-04-29 15:07 小鲨鱼2018 阅读(60) 评论(0) 推荐(0) 编辑
摘要:001、 https://palettegenerator.com/ https://www.jianshu.com/p/52f0764179d9 阅读全文
posted @ 2024-04-29 12:05 小鲨鱼2018 阅读(17) 评论(0) 推荐(0) 编辑
摘要:jre 和 jdk的关系 阅读全文
posted @ 2024-04-24 12:52 小鲨鱼2018 阅读(5) 评论(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 阅读(524) 评论(0) 推荐(1) 编辑
摘要:001、下载镜像源 a、地址 清华镜像源:https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/ b、下载最新版本, 注意两点:1、最新的,可以参考后边的发布日期; 2、选择linux版本,架构选x86_64的 002、确认一下系统 [root@ 阅读全文
posted @ 2024-04-23 13:16 小鲨鱼2018 阅读(533) 评论(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 阅读(42) 评论(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 阅读(177) 评论(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 阅读(233) 评论(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:55 小鲨鱼2018 阅读(704) 评论(0) 推荐(0) 编辑
摘要:R语言中pch对照表: 。 阅读全文
posted @ 2024-04-10 20:49 小鲨鱼2018 阅读(183) 评论(0) 推荐(0) 编辑
摘要:001、 a <- sample(20:80,15) a b <- matrix(a,nrow=3) b par(mfrow = c(2, 1)) barplot(b,width=1,beside=T, space = c(0, 2), main = "xxx") barplot(b,width=1 阅读全文
posted @ 2024-04-10 20:32 小鲨鱼2018 阅读(72) 评论(0) 推荐(0) 编辑
摘要:001、 gffread x_variable_combine.gff -g goat_pangenome.fa -y x_variable_protein.fa ## 提取命令 。 阅读全文
posted @ 2024-04-07 11:08 小鲨鱼2018 阅读(416) 评论(0) 推荐(0) 编辑
摘要:001、问题, make编译报错如下: utilseq.h:92:30: error: ‘Iefp’ is not a class or namespace 002、感觉像是c++版本低造成的 测试一下,将gcc编译器有4.8 升级到 11, 问题解决。 升级方法:https://www.cnblo 阅读全文
posted @ 2024-04-06 23:04 小鲨鱼2018 阅读(10) 评论(0) 推荐(0) 编辑
摘要:001、 Project、sample、SRA、RUN、experiment accession 啥关系 阅读全文
posted @ 2024-04-05 12:34 小鲨鱼2018 阅读(14) 评论(0) 推荐(0) 编辑
摘要:001、 centos8 中安装texinfo wget -c https://ftp.gnu.org/gnu/texinfo/texinfo-6.6.tar.gz 002、 [root@localhost software]# tar -xzvf texinfo-6.6.tar.gz [root@ 阅读全文
posted @ 2024-04-05 01:07 小鲨鱼2018 阅读(422) 评论(0) 推荐(0) 编辑
摘要:001、报错如下: configure: error: libcurl >= 7.28.0 library and headers are required with support for https 002、解决方法 [root@localhost R-4.3.2]# yum install l 阅读全文
posted @ 2024-04-05 00:49 小鲨鱼2018 阅读(439) 评论(0) 推荐(0) 编辑
摘要:001、问题 configure: error: PCRE2 library and headers are required, or use --with-pcre1 and PCRE >= 8.32 with UTF-8 support 002、解决方法 [root@localhost R-4. 阅读全文
posted @ 2024-04-05 00:43 小鲨鱼2018 阅读(252) 评论(0) 推荐(0) 编辑
摘要:001、问题 centos8 中出现 没有Fortan 编译器的报错 configure: error: No Fortran compiler found 002、解决方法 [root@localhost R-4.3.2]# yum install gcc-gfortran 003、测试效果 [r 阅读全文
posted @ 2024-04-05 00:06 小鲨鱼2018 阅读(502) 评论(0) 推荐(0) 编辑
摘要:001、 yum makecache的作用是将服务器上的软件包信息缓存到本地,以提高搜索和安装软件的速度。 002、 yum update:该命令用于更新系统中已安装的软件包到最新版本,但不会安装新的软件包或删除已安装的软件包。 003、 yum upgrade:该命令也用于更新系统中已安装的软件包 阅读全文
posted @ 2024-04-04 22:24 小鲨鱼2018 阅读(2482) 评论(0) 推荐(0) 编辑
摘要:001、centos8 中yum安装软件出现如下报错 Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist 002、系统 [ 阅读全文
posted @ 2024-04-04 22:07 小鲨鱼2018 阅读(128) 评论(0) 推荐(0) 编辑
摘要:软件包安装: 001、系统 [root@localhost test01]# cat /etc/redhat-release ## 系统 CentOS Linux release 8.4.2105 。 002、安装epel软件源 [root@localhost test01]# yum instal 阅读全文
posted @ 2024-04-04 21:56 小鲨鱼2018 阅读(301) 评论(0) 推荐(0) 编辑
摘要:001、 以centos8.4为例 [root@localhost test01]# cat /etc/redhat-release ## 查看系统centos8.4 CentOS Linux release 8.4.2105 002、查看网络接口名称(网卡名称) [root@localhost t 阅读全文
posted @ 2024-04-04 21:26 小鲨鱼2018 阅读(1953) 评论(0) 推荐(0) 编辑
摘要:001、 以防万一一个服务器坏掉了,就顺次使用第二个做解析。 阅读全文
posted @ 2024-04-04 20:38 小鲨鱼2018 阅读(99) 评论(0) 推荐(0) 编辑
摘要:001、打开一个测试文件, 在末行模式输入下面代码: vim a.txtaa bb root dd ROOt KK As rOOT DD Sd djjf ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ :map <F2> :echo "helle world!"<CR 阅读全文
posted @ 2024-04-03 16:34 小鲨鱼2018 阅读(60) 评论(0) 推荐(0) 编辑
摘要:001、系统 [root@PC1 home]# cat /etc/system-release ## rocky9 Rocky Linux release 9.3 (Blue Onyx) 002、调用lsb命令测试 [root@PC1 home]# lsb_release -a ## 无法调用 ba 阅读全文
posted @ 2024-04-03 15:08 小鲨鱼2018 阅读(626) 评论(0) 推荐(0) 编辑
摘要:001、centos7 [root@pc1 test01]# cat /etc/redhat-release ## 系统centos7 CentOS Linux release 7.6.1810 (Core) [root@pc1 test01]# ldd --version ## 利用ldd查询 l 阅读全文
posted @ 2024-04-03 12:39 小鲨鱼2018 阅读(397) 评论(0) 推荐(0) 编辑
摘要:centos 7 中 网络配置方式 netconnection网络配置方式到 netmanager改进了什么?为什么改? 阅读全文
posted @ 2024-04-03 11:43 小鲨鱼2018 阅读(12) 评论(0) 推荐(0) 编辑
摘要:ubuntu desktop 和 ubuntu server 有什么区别? Ubuntu Desktop和Ubuntu Server的主要区别在于它们的用途、提供的界面、预装软件、性能优势不同。具体如下:12 用途不同。Ubuntu Desktop适用于个人电脑或办公室的图形界面环境,提供办公生产力 阅读全文
posted @ 2024-04-03 11:42 小鲨鱼2018 阅读(2153) 评论(0) 推荐(0) 编辑
摘要:001、测试1 centos7 [root@pc1 ~]# cat /etc/redhat-release CentOS Linux release 7.6.1810 (Core) ## centos7系统 [root@pc1 ~]# nmcli d ## 查看网络接口,ens32 DEVICE T 阅读全文
posted @ 2024-04-03 11:40 小鲨鱼2018 阅读(470) 评论(0) 推荐(0) 编辑
摘要:001、查看系统 [root@PC1 liujiaxin01]# cat /etc/system-release Rocky Linux release 9.3 (Blue Onyx) ## rocky9 002、进入配置文件目录 [root@PC1 liujiaxin01]# cd /etc/Ne 阅读全文
posted @ 2024-04-03 11:28 小鲨鱼2018 阅读(4952) 评论(0) 推荐(2) 编辑
摘要:rpm: redhat package management yum: yellow dog updater, modified rpm:解决单一rpm的依赖。 rpm本质上是一种包; yum:解决软件的所有的依赖,自动从服务器下载rmp包并且安装。yum本质上是一个安装包的软件。 参考: 01、h 阅读全文
posted @ 2024-04-03 11:26 小鲨鱼2018 阅读(50) 评论(0) 推荐(0) 编辑
摘要:001、问题 linux 中 很多服务的后面都加一个d是什么意思; 比如 sshd; httpd 002、解释 d是daemon的缩写,说明它自己是个守护进程(daemon) ,它在后台运行,一般都是用来做服务端程序。 所以后面都多了一个d,以方便大家理解这个程序的行为。 003、什么是守护进程 一 阅读全文
posted @ 2024-04-03 11:25 小鲨鱼2018 阅读(198) 评论(0) 推荐(1) 编辑
摘要:001、测试数据 [root@pc1 test01]# ls a.txt [root@pc1 test01]# cat a.txt ee root kk aa ee ddd ee ROOT kk ee dd Root 002、 方法1 vim 打开查找文件, 在查找内容的后边增加\c, 如果不在末尾 阅读全文
posted @ 2024-04-03 11:17 小鲨鱼2018 阅读(361) 评论(0) 推荐(0) 编辑
摘要:001、问题, 安装完成rocky9, 发现ssh无法使用root登陆 a、系统 [root@PC1 home]# cat /etc/redhat-release Rocky Linux release 9.3 (Blue Onyx) b、root登陆出现如下界面 002、解决方法,在ssh服务的配 阅读全文
posted @ 2024-04-03 10:45 小鲨鱼2018 阅读(2933) 评论(0) 推荐(0) 编辑
摘要:001、$ 加 双括号(()) [root@pc1 test]# ls [root@pc1 test]# echo $((5 + 100)) 105 [root@pc1 test]# echo $((100 / 5)) 20 [root@pc1 test]# echo $((100 / 3)) ## 阅读全文
posted @ 2024-04-01 15:29 小鲨鱼2018 阅读(88) 评论(0) 推荐(0) 编辑
摘要:ctrl + v; 然后按tab键 01、step1 ctrl + v 02、step2 tab键 阅读全文
posted @ 2024-04-01 15:24 小鲨鱼2018 阅读(96) 评论(0) 推荐(0) 编辑
摘要:001、 [root@pc1 test]# ls a.txt [root@pc1 test]# cat a.txt ## 测试数据 1 2 3 [root@pc1 test]# sum=0 [root@pc1 test]# for i in $(seq 3); do let sum+=$i; don 阅读全文
posted @ 2024-04-01 12:46 小鲨鱼2018 阅读(7) 评论(0) 推荐(0) 编辑
摘要:001、 [root@pc1 test]# ls a.txt [root@pc1 test]# sum=0 [root@pc1 test]# cat a.txt | while read i; do let sum+=$i; done ## 循环方式1 [root@pc1 test]# echo $ 阅读全文
posted @ 2024-04-01 12:38 小鲨鱼2018 阅读(8) 评论(0) 推荐(0) 编辑
摘要:001、awk [root@pc1 test01]# ls a.txt [root@pc1 test01]# cat a.txt 8 3 2 5 [root@pc1 test01]# awk '{sum += $1} END {print sum}' a.txt ## awk计算第一列数据的和 18 阅读全文
posted @ 2024-04-01 12:29 小鲨鱼2018 阅读(198) 评论(0) 推荐(0) 编辑
摘要:001、 如下测试数据,想在每行最后的两个字符之前添加特定字符,比如QQ,如何实现 [root@pc1 test01]# ls a.txt [root@pc1 test01]# cat a.txt ## 测试数据 2+adey 2-ddfr 7_dgqd 002、可以借助&实现 [root@pc1 阅读全文
posted @ 2024-04-01 12:19 小鲨鱼2018 阅读(49) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示