上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 320 下一页
摘要: 二分查找 a=[1,3,5,7,9] # 序列 k=3 # 目标 l=0 # 开头(注意,是索引号) r=4 # 结尾(注意,是索引号) while l+1!=r: # 是否只剩一个 mid=int((l+r)//2) # 中间(注意,是索引号) if a[mid]<k: # 小于目标 l=mid 阅读全文
posted @ 2023-10-17 23:20 emanlee 阅读(75) 评论(0) 推荐(0) 编辑
摘要: 重启 Windows 阅读全文
posted @ 2023-10-17 23:19 emanlee 阅读(32) 评论(0) 推荐(0) 编辑
摘要: Jupyter Notebook 如何让输出的内容存放到文件中 How to Save the Output of a Cell as a Text File in Jupyter https://discourse.jupyter.org/t/is-there-a-way-to-save-the- 阅读全文
posted @ 2023-10-17 23:17 emanlee 阅读(207) 评论(0) 推荐(0) 编辑
摘要: ImportError: libcrypto.so.3: cannot open shared object file: No such file or directoryBuilding wheel for pysam (pyproject.toml) ...https://github.com/ 阅读全文
posted @ 2023-10-17 22:59 emanlee 阅读(686) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/zhenghb31/p/15046496.html 市面上控制器这么多,似乎每一个都很厉害…为什么有的控制器编写起来那么难,功能很少,有的简单易学,功能强大呢?各种控制器又有什么区别呢?经过我的思考,我个人把控制器分为三类! 第一类: 基于逻辑电路的控 阅读全文
posted @ 2023-10-17 22:50 emanlee 阅读(967) 评论(0) 推荐(0) 编辑
摘要: [ ~/software]$ condaTraceback (most recent call last): File "/ppp/software/Anaconda3.8/bin/conda", line 15, in <module> sys.exit(main()) File "/ppp/so 阅读全文
posted @ 2023-10-17 22:42 emanlee 阅读(151) 评论(0) 推荐(0) 编辑
摘要: wget https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/Anaconda3-2020.11-Linux-x86_64.sh --2023-10-17 21:36:56-- https://mirrors.tuna.tsinghua.edu 阅读全文
posted @ 2023-10-17 21:42 emanlee 阅读(33) 评论(0) 推荐(0) 编辑
摘要: ipykernel ipykernel是一个用于在Jupyter Notebook 中运行Python代码的包,它可以将Python代码转化为可以在Python内核上运行的格式。 ipython IPython是什么? https://blog.csdn.net/jarodyv/article/de 阅读全文
posted @ 2023-10-16 23:11 emanlee 阅读(83) 评论(0) 推荐(0) 编辑
摘要: 传统的全基因组关联分析(GWAS)计算的是单个SNP与表型的相关性,除此之外,我们还可以进行SNP之间的互作效应与表型的相关性分析。 上位效应的公式为:Y ~ b0 + b1.A + b2.B + b3.AB + e Y为表型,A和B分别为两个变异位点,在GWAS中通常指SNP,如果b3为显著,则说 阅读全文
posted @ 2023-10-15 10:21 emanlee 阅读(58) 评论(0) 推荐(0) 编辑
摘要: perl判断字符串包含 perl中没有判断字符串包含的函数,可以用正则表达式来实现这个功能,下面代码判断$str1是否包含$str2。 if($str1 =~/$str2/) { ...} if ($str1 !~/str2/) { #匹配了不包含的 }else { #匹配了包含的 } 阅读全文
posted @ 2023-10-15 10:19 emanlee 阅读(79) 评论(0) 推荐(0) 编辑
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 320 下一页