- 博客(11)
- 收藏
- 关注
原创 判断两个变量/向量/集合的相等性质
identical(x,y): 测试x和y中所有对应位置上的元素是否相等。 sum(!is.element(x,y))sum(!is.element(y,x))如果这两个表达式结果均为0,意味着x和y来自同一个样本集(即:元素相同,排列可以不同)
2013-03-12 10:53:38 3283
原创 集合操作
union(x, y):集合“并“intersect(x, y):集合“交”setdiff(x, y):集合"差" x-ysetequal(x, y): 集合是否相等 x=y? True/Falseis.element(el, set):判断元素el是否属于集合set? True/Falseis.element(x,y):对于集合x中的每一个元素,判断其
2013-03-11 14:52:02 1029
转载 quantile-quantile plot (qqplot) of the p-values
The QQ plot shows the expected distribution of association test statistics (X-axis) across the million SNPs compared to the observed values (Y-axis). Any deviation from the X=Y line implies a consis
2013-03-11 13:10:35 5191
原创 QTLRel Package: functionalities (3)
17. nullSim: Simulate null distributionSimulate distribution under the hypothesis of no QTL by permutation (of genotypic data) or gene dropping.Two methods considered here are permutation test and
2013-03-11 11:21:48 1080
原创 QTLRel Package: functionalities (2)
9. gls: Generalized Least Square Estimates, Obtain estimates using generalized least squares (gls)10. hapSim: Generate Genotypic Data, Simulate gametic data from a pedigree.The pedigree should
2013-03-11 10:49:34 829
原创 QTLRel Package: functionalities (1)
QTLRel: Tools for mapping of quantitative traits of genetically related individuals and calculating identity coefficients from a pedigree.This software provides tools for quantitative trait mapp
2013-03-08 16:35:25 841
原创 RStudio中有用的快捷键
Ctrl+Enter:逐行执行script中的命令Ctrl+l:清除屏幕上的内容Esc:强制结束当前命令的执行(控制台工作区上方红色的"stop"按钮也可以)Ctrl+2:移动光标到控制台以下内容为转发:控制台功能Windows & LinuxMac移动鼠标到控制台Ctrl+2Ctr
2013-03-08 09:10:13 16327
原创 xtable
xtable {xtable}Create Export TablesDescription: Function converting an R object to an xtable object, which can then be printed as a LaTeX or HTML table.
2013-03-05 16:30:16 2232
原创 Difference between GWAS/MAS and GS
The difference between MAS and genomic selection is that MAS only utilizes the SNPs that are significant in a GWAS, whereas genomic selection uses a genome-wide panel of dense markers so that all QTL
2013-03-04 14:29:46 1896
原创 How to install packages in Bioconductor
source("http://bioconductor.org/biocLite.R")biocLite(packageName1,packageName2,...)
2013-03-04 14:07:04 567
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人