condenseMatrixByColnames(ChIPpeakAnno)
condenseMatrixByColnames()所属R语言包:ChIPpeakAnno
condense matrix by colnames
凝聚矩阵由colnames
译者:生物统计家园网 机器人LoveR
描述----------Description----------
condense matrix by colnames
凝聚矩阵由colnames
用法----------Usage----------
condenseMatrixByColnames(mx,iname,sep=";",cnt=FALSE)
参数----------Arguments----------
参数:mx
a matrix to be condensed
一个浓缩的矩阵
参数:iname
the name of the column to be condensed
列名被浓缩
参数:sep
separator for condensed values,default ;
为简明的值,默认的分隔符;
参数:cnt
TRUE/FALSE specifying whether adding count column or not?
指定数列是否加入或不真/假?
值----------Value----------
dataframe of condensed matrix
dataframe的简明矩阵
作者(S)----------Author(s)----------
Jianhong Ou, Lihua Julie Zhu
举例----------Examples----------
a<-matrix(c(rep(rep(1:5,2),2),rep(1:10,2)),ncol=4)
colnames(a)<-c("con.1","con.2","index.1","index.2")
condenseMatrixByColnames(a,"con.1")
condenseMatrixByColnames(a,2)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|