上一页 1 ··· 217 218 219 220 221 222 223 224 225 ··· 367 下一页
摘要: 1、测试数据 root@PC1:/home/test# ls a.txt root@PC1:/home/test# cat a.txt ## 测试数据 i u k f 2 3 8 7 s j 9 4 形式一、按行排列 2、xargs实现 root@PC1:/home/test# ls a.txt r 阅读全文
posted @ 2022-03-22 23:36 小鲨鱼2018 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 1、测试数据 root@PC1:/home/test# ls a.txt root@PC1:/home/test# cat a.txt i u k f 2 3 8 7 s j 9 4 2、形式1(按照行进行排列) root@PC1:/home/test# ls a.txt root@PC1:/hom 阅读全文
posted @ 2022-03-22 22:32 小鲨鱼2018 阅读(165) 评论(0) 推荐(0) 编辑
摘要: 1、生成测试数据 root@PC1:/home/test# ls a.txt root@PC1:/home/test# cat a.txt ## 测试数据 1 2 3 4 5 2、xargs实现 root@PC1:/home/test# ls a.txt root@PC1:/home/test# c 阅读全文
posted @ 2022-03-22 21:48 小鲨鱼2018 阅读(527) 评论(0) 推荐(0) 编辑
摘要: 1、选种需要注释的代码, ctrl + shift + c进行注释, 再次选中,执行ctrl + shift + c则取消注释 (1)选中: (2)、执行ctrl + shift + c进行注释 (3)选中 4、执行ctrl + shift + c,取消注释 阅读全文
posted @ 2022-03-21 10:23 小鲨鱼2018 阅读(1355) 评论(0) 推荐(0) 编辑
摘要: 1、测试1 >>> seq = 'ATGTGACCCTGATTTTGAATGatgAtgAtGaTGaTg' ## 定义测试字符串 >>> type(seq) <class 'str'>= 使用find查找: >>> seq.find('ATG') ## 返回查找字符串的第一个索引 0 >>> se 阅读全文
posted @ 2022-03-20 23:21 小鲨鱼2018 阅读(1161) 评论(0) 推荐(0) 编辑
摘要: 1、测试文件 root@PC1:/home/test3# ls root@PC1:/home/test3# touch a.txt b.txt ## 测试文件 root@PC1:/home/test3# ls a.txt b.txt root@PC1:/home/test3# lsattr a.tx 阅读全文
posted @ 2022-03-19 23:20 小鲨鱼2018 阅读(78) 评论(0) 推荐(0) 编辑
摘要: 1、测试 > par(mfrow=c(2,2)) > plot(1:10, main = "001") > plot(1:10, main = "002", xaxt = "n") ## 去除x轴 > plot(1:10, main = "003", yaxt = "n") ## 去除y轴 > pl 阅读全文
posted @ 2022-03-19 16:03 小鲨鱼2018 阅读(3296) 评论(0) 推荐(0) 编辑
摘要: 1、 #ECDF指的是Emperical Cumulative Density Function,即经验累积概率密度函数 > test <- rnorm(1000,mean=172,sd=12) ## 生成符合随机正态分布的1000个数, 平均值为172, 标准差为12 > length(test) 阅读全文
posted @ 2022-03-19 12:34 小鲨鱼2018 阅读(3255) 评论(0) 推荐(0) 编辑
摘要: 1、直接测试 > layout(matrix(c(0,1,2,3),2,2,byrow=TRUE)) ## matrix划分画布,按行排列,两行两列的矩阵, 0表示空出来,然后按照数字顺序进行绘图 > plot(1:10,main = "001") > plot(1:10,main = "002") 阅读全文
posted @ 2022-03-19 11:43 小鲨鱼2018 阅读(980) 评论(0) 推荐(0) 编辑
摘要: 1、空白 > x <- 1:10 > y <- x^2 > plot(x,y) 2、expression用于上标 > x <- 1:10 > y <- x^2 > plot(x,y, ylab = expression(x^y)) ## 用于上标 3、用于下标 > plot(1:10, ylab = 阅读全文
posted @ 2022-03-18 20:45 小鲨鱼2018 阅读(1429) 评论(0) 推荐(0) 编辑
上一页 1 ··· 217 218 219 220 221 222 223 224 225 ··· 367 下一页