datablock2ma(ChemmineR)
datablock2ma()所属R语言包:ChemmineR
SDF data blocks to matrix
自卫队的数据块到矩阵
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Convert data blocks in SDFset to character matrix with datablock2ma, then store its numeric columns as numeric matrix and its
SDFsetdatablock2ma字符矩阵转换数据块,然后存储为数字矩阵数字列和其
用法----------Usage----------
datablock2ma(datablocklist = datablock(sdfset), cleanup = " \\(.*", ...)
splitNumChar(blockmatrix = blockmatrix)
参数----------Arguments----------
参数:datablocklist
list of data block vectors; can be created with datablock(sdfset)
list数据块的向量;可以创建datablock(sdfset)
参数:blockmatrix
matrix returned by datablock2ma
matrixdatablock2ma返回的
参数:cleanup
character pattern to be used to clean up the name fields of the data block vectors; the exact pattern matches are replaced by nothing (deleted).
character模式被用来清理数据块向量的名称字段;精确的模式匹配是什么(删除)取代。
参数:...
option to pass on additional arguments
通过对额外的参数选项
Details
详情----------Details----------
...
...
值----------Value----------
参数:datablock2ma
character matrix
character matrix
参数:splitNumChar
list with two components, a numeric matrix and a character matrix
list两部分组成,数字矩阵和一个字符矩阵
作者(S)----------Author(s)----------
Thomas Girke
参考文献----------References----------
参见----------See Also----------
Classes: SDFset
类别:SDFset
举例----------Examples----------
## SDFset instance[#SDFset实例]
data(sdfsample)
sdfset <- sdfsample
# Convert data block to matrix [数据块转换为矩阵]
blockmatrix <- datablock2ma(datablocklist=datablock(sdfset))
blockmatrix[1:4, 1:4]
# Split matrix to numeric matrix and character matrix[分割矩阵数字矩阵和矩阵字符]
numchar <- splitNumChar(blockmatrix=blockmatrix)
names(numchar)
numchar[[1]][1:4,]
numchar[[2]][1:4,]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|