摘要:
date: 2017 03 11 13:51 status: public title: weblogic 1.基础概念 1. 一个weblogic域可以同时管理多个集群以及多个服务器实例; 2. 节点管理器是在屋里机器上运行的一个守护进程,通过它,管理服务器可以获得诸如在控制台中强制重启远程机器上 阅读全文
2018年7月10日
2015年5月11日
摘要:
云平台反应路由器流量异常,已经被强制关闭。这导致系统出现了很大了故障,路由器下面几十个集群,几百台机器,不知道哪台机器出了问题,不能定位,真心纠结。一台台在控制台上看流量图,最终定位到一台elasticsearch服务器异常。登录上去,查看。tmp目录下有好多不知名文件。。。 [root@ind... 阅读全文
2013年12月19日
摘要:
heatmap 热图是一种有效的数据可视化方法,一般借助矩阵数据间相关性作图。exampleData quantile(evar,0.75),]install.packages("gplots")library(gplots)heatmap.2(mostVariable,trace="none",col=greenred(10))heatmap.2(mostVariable,trace="none",col=greenred(10),ColSideColors=bluered(5))ord <- order(rowSums(ab 阅读全文
2013年3月5日
摘要:
#/*******************************************************************************# * Author : HaoTan# * Email : tanhao2013@foxmail.com# * Last modified : 2013-03-05 13:01# * Filename : efa2fa.pl# * *****************************************************************************/#!/usr/bin/perluse Bio:: 阅读全文
2013年1月31日
摘要:
>>>import os>>>os.getcwd()>>>os.chdir(’..’)>>>os.listdir(’/home/sb/bioinfo/seqs’)>>>os.path.isfile(’/home/sb’)>>>os.path.isdir(’/home/sb’)>>>os.remove(’/home/sb/bioinfo/seqs/ms115.ab1’)>>>os.rename... 阅读全文
2012年12月28日
摘要:
这篇文章要介绍的,是我作为专业程序员这些年来学到的能真正提高我的代码质量和整体工作效率的10件事情。转自:http://www.linuxeden.com/html/news/20121228/133772.html1. 永远不要复制代码不惜任何代价避免重复的代码。如果一个常用的代码片段出现在了程序中的几个不同地方,重构它,把它放到一个自己的函数里。重复的代码会导致你的同事 在读你的代码时产生困惑。而重复的代码如果在一个地方修改,在另外一个地方忘记修改,就会产生到处是bug,它还会使你的代码体积变得臃肿。现代的编程语 言提供了很好的方法来解决这些问题,例如,下面这个问题在以前很难解决,而如今使 阅读全文
2012年12月13日
摘要:
data <- read.table("test.tab")plot(data[,3]~data[,2], type="l", col="red", ylim=c(-1,50), lty = 1, main="Base percentage composition along reads", xlab="Percent(%)", ylab="Position along reads", lwd=2)lines(data[,4], type = "l" 阅读全文
2012年8月15日
摘要:
#pdf("gc-out.pdf", width = 10, height = 8)CARCR<-c(0.00,5.32,44.71,29.95,11.63,5.97,2.22,0.19)COLST<-c(0.02,12.69,43.68,24.48,11.16,5.84,2.00,0.13)MERNU<-c(0.00,5.30,43.76,29.95,12.45,5.93,2.36,0.25)GAVST<-c(0.00,4.24,43.26,31.92,13.21,5.58,1.68,0.11)BALRE<-c(0.00,5.42,45.62 阅读全文
2012年7月29日
2012年7月17日
摘要:
Ch12 Resampling statistics and bootstrappingPermutation testsPermutation tests, also called randomization or re-randomization tests.Ten subjects have been randomlyassigned to one of two treatment conditions(A or B) and an outcome variable (score) has been recorded.Is there enough evidence to conclud 阅读全文
2012年7月16日
摘要:
Matrix Algebra in RA and B are matrices, x and b are vectors, and k is a scalar.The matlab package contains wrapper functions and variables used to replicate MATLAB function calls as closely as possible.http://mathesaurus.sourceforge.net/octave-r.htmlTheMatrix package contains functions that extend 阅读全文
摘要:
Working with large datasetsThere are three issues to consider when working with large datasets:(a) efficient programming to speed execution, (b) storing data externally to limit memory issues,(c) using specialized statistical routines designed to efficiently analyze massive amounts of data.Efficient 阅读全文
摘要:
Updating an R installationupdate.packages() function can be used to download and install the most recent version of a contributed package.http://cran.r-project.org/binThe installed.packages() function is used to save a list of packages to a location outside of the R director y tree, and then the lis 阅读全文
2012年6月8日
摘要:
http://wiki.stdout.org/rcookbook/Data%20input%20and%20output/Loading data from a fileTable of contentsLoading data from a fileProblemSolutionDelimited text filesLoading a file with a file chooserTreating strings as factors or charactersLoading a file from the InternetFixed-width text filesExcel file 阅读全文
摘要:
Creating a formula from a stringProblemYou want to create a formula from a string.SolutionIt can be useful to create a formula from a string. This often occurs in functions where the formula arguments are passed in as strings.In the most basic case, useas.formula():# This returns a string:"y ~ 阅读全文
摘要:
StringsSearching and replacing - grep, sub, gsubCreating strings from variables - sprintf, pasteCreating strings from variablesTable of contentso Creating strings from variableso Problemo Solutiono Using paste()o Using sprintf()o NotesProblemYou want to do create a string from variables.SolutionThe 阅读全文
摘要:
Generating random numbersProblemYou want to generate random numbers.SolutionFor uniformly distributed (flat) random numbers, userunif(). By default, its range is from 0 to 1.runif(1)# 0.5581546# Get a vector of 4 numbersrunif(4)# 0.383330465 0.005814167 0.879704937 0.873534007# Get a vector of 3 num 阅读全文
摘要:
笔记来源:http://wiki.stdout.org/rcookbook/Indexing into a data structureProblemYou want to get part of a data structure.SolutionElements from a vector, matrix, or data frame can be extracted using numeric indexing, or by using a boolean vector of the appropriate length.In many of the examples, below, th 阅读全文