坐山雕

导航

2021年1月22日

cluster BASIC

摘要: ####clusters. options (function() { var hsv2rgb = function(a,b,c) { var d=0,e=0,f=0,g=Math.floor(a*6),h=a*6-g,i=c*(1-b),j=c*(1-h*b),k=c*(1-(1-h)*b); s 阅读全文

posted @ 2021-01-22 17:04 坐山雕 阅读(38) 评论(0) 推荐(0) 编辑

ssh,scp带密码操作

摘要: 1、远程执行,带密码参数 sshpass 安装命令: ```{sh} yum install sshpass ##执行命令: sshpass -p "mima" ssh root@localhost ## 参数小写p,密码mima ``` 2、非22端口 ssh -p 9062 111.111.11 阅读全文

posted @ 2021-01-22 16:16 坐山雕 阅读(1276) 评论(0) 推荐(0) 编辑

R data.frame filter out rowsum==0 and colsum==0

摘要: SSIN0<-filter(SIN,rowSums(SIN)>0)SSIN<-SSIN0 %>% select(where(~ is.numeric(.x) && sum(.x) >10000 )) 阅读全文

posted @ 2021-01-22 15:00 坐山雕 阅读(65) 评论(0) 推荐(0) 编辑