2015年2月26日

摘要: 最近处理数据的时候需要处理一些xml文件,但是xml文件的格式之前并不是很熟悉。幸好R有一些函数可以帮助快速处理xml文件。其中的xmlToList函数尤其方便,可以使你从陌生的XML迅速回到熟悉的R的数据结构。library(XML)url_experiment = "ftp://ftp.ddbj... 阅读全文
posted @ 2015-02-26 03:35 Forever_YCC 阅读(1190) 评论(0) 推荐(0) 编辑

2015年2月13日

摘要: 以前非常喜欢使用load函数,因为简单,而且存储相对较大的matrix、list文件更为方便。但是load函数有一个问题是在使用其过程中无法对其载入的data赋予变量名:# save datax = 5save(x, file="x.Rda") # save data x into rda form... 阅读全文
posted @ 2015-02-13 09:10 Forever_YCC 阅读(654) 评论(0) 推荐(0) 编辑

2015年1月27日

摘要: R中经常会使用一些命令,而且需要重复输入,非常麻烦。如果能够一打开R就直接使用会方便很多。通过配置一个.Rprofile文件,可以达到我们的目的。注:本文仅适用于Mac# 创建一个.Rprofile fileemacs ~/.Rprofile# Edit the .Rprofile file# Ge... 阅读全文
posted @ 2015-01-27 09:06 Forever_YCC 阅读(3518) 评论(0) 推荐(0) 编辑

2015年1月24日

摘要: 今天花了点时间找ubuntu的workspace布局。发现一个软件,tweak, 非常好用,可以随意调整布局。Ref:http://ubuntuhandbook.org/index.php/2013/07/change-number-of-workspaces-ubuntu/ 阅读全文
posted @ 2015-01-24 13:38 Forever_YCC 阅读(863) 评论(0) 推荐(0) 编辑

2015年1月21日

摘要: 在mac上,R读取复制的data。很简单,一行命令read.table(pipe("pbpaste")) 阅读全文
posted @ 2015-01-21 07:48 Forever_YCC 阅读(1508) 评论(0) 推荐(0) 编辑

2015年1月8日

摘要: 使用dropbox自动同步自己mac上的文件夹:ln -s /Volumes/Macintosh_HD_2/Programs/00-My_Programs /Users/foreverycc/Dropbox/My_Program# 1. must be full absolute path ( "~... 阅读全文
posted @ 2015-01-08 04:09 Forever_YCC 阅读(792) 评论(0) 推荐(0) 编辑

2014年3月8日

摘要: 使用sftp上传文件夹时若使用如下命令并不work:put /media/Research/GWAS_Class/* Desktop/此时,需要添加一个参数 -r, 另外在目标文件夹下面建立一个同名文件夹:即在Desktop下面建立GWAS_Class.否则会提示找不到目标文件夹。但是在服务器端的目录却不要写这个同名文件夹put -r /media/Research/GWAS_Class/ /Users/foreverycc/Desktop/ 阅读全文
posted @ 2014-03-08 02:49 Forever_YCC 阅读(9573) 评论(0) 推荐(0) 编辑

2014年1月9日

摘要: Fastx-toolkit installation on CentOS=====================================Tested on CentOS release 5.3 (FINAL) x86_64Prerequisites: pkg-config, gcc, g++, wget Using YUM, install gcc, g++, pkg-config and wget $ sudo yum install pkgconfig.x86_64 gcc.x86_64 gcc-c++.x86_64 wget.x86_64 Verify GCC/G++ ver. 阅读全文
posted @ 2014-01-09 04:14 Forever_YCC 阅读(345) 评论(0) 推荐(0) 编辑

2014年1月8日

摘要: Lots of bioinformatics software are based on perl. Some of them, for example, Circos, NGS toolkit... are written in perl and need certain perl packages. One of the most important one and the most tough one is GD!It is really hard to install GD!!!! I've tried so many times and became desperate. F 阅读全文
posted @ 2014-01-08 14:50 Forever_YCC 阅读(517) 评论(0) 推荐(0) 编辑

2013年10月24日

摘要: 最近准备开始重新学C++,先从IDE开始准备起Ubuntu下安装非常简单:打开Eclipse: help -> Install new software ->http://download.eclipse.org/tools/cdt/releases/kepler-> 不断地next 即可~~~然后... 阅读全文
posted @ 2013-10-24 01:06 Forever_YCC 阅读(1557) 评论(0) 推荐(0) 编辑

导航