上一页 1 ··· 273 274 275 276 277 278 279 280 281 ··· 408 下一页
摘要: 1、测试 root@PC1:/home/test# ls a.txt test.py root@PC1:/home/test# cat a.txt ## 测试数据 a 3 d s 1 j z c m q e i 3 4 k h f 3 root@PC1:/home/test# cat test.py 阅读全文
posted @ 2021-11-19 23:27 小鲨鱼2018 阅读(286) 评论(0) 推荐(0)
摘要: 1、测试数据 root@PC1:/home/test# ls 5gene_CDs.bed id_mapping.txt root@PC1:/home/test# head -n 3 5gene_CDs.bed chr6 117609654 117609965 NM_001378891.1_cds_0 阅读全文
posted @ 2021-11-19 19:11 小鲨鱼2018 阅读(497) 评论(0) 推荐(0)
摘要: 1、测试1 > bed <- c("NM_001378891.1_cds_0_0_chr6_117609655_r","NM_001378891.1_cds_1_0_chr6_117622137_r") > bed [1] "NM_001378891.1_cds_0_0_chr6_117609655 阅读全文
posted @ 2021-11-19 18:24 小鲨鱼2018 阅读(320) 评论(0) 推荐(0)
摘要: 示例: pip install -i https://pypi.tuna.tsinghua.edu.cn/simple jupyter 更新pip: python -m pip install --upgrade pip 阅读全文
posted @ 2021-11-19 12:08 小鲨鱼2018 阅读(216) 评论(0) 推荐(0)
摘要: 1、测试 test <- c(2,NA,5, 8, NA, 10, 5) test test2 <- as.integer(na.omit(test)) ## 清除NA test2 test3 <- which(!is.na(test)) ## 返回非空的索引 test3 test4 <- whic 阅读全文
posted @ 2021-11-17 09:59 小鲨鱼2018 阅读(1293) 评论(0) 推荐(0)
摘要: (一) 1、测试 [root@centos79 test2]# ls source.txt [root@centos79 test2]# cat source.txt ## 首先准备了3个下载资源 https://s3.amazonaws.com/plink1-assets/plink_linux_ 阅读全文
posted @ 2021-11-16 18:48 小鲨鱼2018 阅读(976) 评论(0) 推荐(0)
摘要: 1、将连续两行数据合并为一行 dat <- read.table("outcome.ped") dat <- dat[,-(1:16)] dat result <- data.frame() ## 生成母版 for (i in 1:(nrow(dat)/2)) { ## 行数缩减1倍 temp1 < 阅读全文
posted @ 2021-11-16 18:07 小鲨鱼2018 阅读(5673) 评论(0) 推荐(0)
摘要: 1、两列合并为1列 dat <- read.table("outcome.ped") dat <- dat[,-(1:6)] dat result <- data.frame(v1 = 1:(2 * nrow(dat))) ## 先生成合并后的框架,两列合并为1列,因此行数翻倍 for (i in 阅读全文
posted @ 2021-11-16 17:46 小鲨鱼2018 阅读(13690) 评论(0) 推荐(0)
摘要: 1、问题 2、以管理员身份运行dos 然后输入:bcdedit /set hypervisorlaunchtype off (开启方法:bcdedit /set hypervisorlaunchtype auto ), 并使用bcdedit /enum命令检查 3、 关闭Hyper-V 打开控制面板 阅读全文
posted @ 2021-11-07 18:50 小鲨鱼2018 阅读(287) 评论(0) 推荐(0)
摘要: 1、点击右下角setting 2、更换国内阿里源:https://9cpn8tt6.mirror.aliyuncs.com,然后应用即可 3、不到一分钟,pull了7个G,比之前快多了 阅读全文
posted @ 2021-11-06 20:12 小鲨鱼2018 阅读(1996) 评论(0) 推荐(0)
上一页 1 ··· 273 274 275 276 277 278 279 280 281 ··· 408 下一页