上一页 1 ··· 93 94 95 96 97 98 99 100 101 ··· 367 下一页
摘要: 001、 安装strcuture遇到如下问题: [root@PC1 console]# ./structure -bash: ./structure: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory 002、解决方 阅读全文
posted @ 2023-02-27 17:19 小鲨鱼2018 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 001、yum安装软件出现如下报错 002、其中的一个原因是 python的版本造成的,即将系统默认调用的python有python2改用了python3, 而yum命令兼容的python版本是python2,因此解决方法是将yum调用的python改为2,及修改yum下载器中的python调用路径 阅读全文
posted @ 2023-02-27 17:04 小鲨鱼2018 阅读(361) 评论(0) 推荐(0) 编辑
摘要: 001、问题:win10中安装tassel5后字体特别小,如下: 解决方法: 002、 找到tassel5的安装位置(在左下角任务栏中找到该应用后,右击, 然后依次选择) 出现如下界面: 003、右击, 选择属性 004、选择兼容性, 点击更改高DPI设置 005、执行1、2、3. 006、点击应用 阅读全文
posted @ 2023-02-27 16:32 小鲨鱼2018 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 001、系统为centos7.6 [root@PC1 test]# cat /etc/system-release CentOS Linux release 7.6.1810 (Core) 002、默认可以调用的python版本为2.7 [root@PC1 test]# python --versi 阅读全文
posted @ 2023-02-27 09:46 小鲨鱼2018 阅读(1439) 评论(0) 推荐(0) 编辑
摘要: 001、python报错 SyntaxError: Non-ASCII character '\xe8' in file test.py on line 6 原因:注释行中出现了中文 ,而python支持的ASCII码不支持中文。 002、解决方法 在头文件中增加: # -*- coding: ut 阅读全文
posted @ 2023-02-27 09:29 小鲨鱼2018 阅读(434) 评论(0) 推荐(0) 编辑
摘要: 001、 [b20223040323@admin1 test2]$ ls dat.txt test.py [b20223040323@admin1 test2]$ cat dat.txt ## 测试数据 gene1 gene2 gene3 0 1 0 0 1 1 1 0 0 0 1 1 [b2022 阅读全文
posted @ 2023-02-26 21:10 小鲨鱼2018 阅读(39) 评论(0) 推荐(0) 编辑
摘要: 001、 方法1 >>> list1 = [] >>> for i in range(5): ... list1.append("value") ... >>> list1 ['value', 'value', 'value', 'value', 'value'] 002、方法2 >>> list1 阅读全文
posted @ 2023-02-26 18:02 小鲨鱼2018 阅读(249) 评论(0) 推荐(0) 编辑
摘要: 001、 gene1 <- c(0,0,1,0) gene2 <- c(1,1,0,1) gene3 <- c(0,1,0,1) dat <- data.frame(gene1, gene2, gene3) ## 生成测试数据, 0表示基因缺失, 1表示基因存在 rate_0 <- function 阅读全文
posted @ 2023-02-26 17:14 小鲨鱼2018 阅读(40) 评论(0) 推荐(0) 编辑
摘要: 001、 统计单个元素 a <- c(3, 3 , 3, 2, 7, 2, 3) ## 测试向量 sum(a == 3) ## 统计3在向量中出现的次数 sum(a == 2) 002、 a <- c(3, 3 , 3, 2, 7, 2, 3) table(a) ## 统计所有元素的频次 003、适 阅读全文
posted @ 2023-02-26 16:59 小鲨鱼2018 阅读(238) 评论(0) 推荐(0) 编辑
摘要: 001、 系统 root@ubuntu01:/etc/netplan# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 22.04.1 LTS Release: 22.04 阅读全文
posted @ 2023-02-25 20:40 小鲨鱼2018 阅读(2514) 评论(0) 推荐(0) 编辑
上一页 1 ··· 93 94 95 96 97 98 99 100 101 ··· 367 下一页