formatSpec(iontree)
formatSpec()所属R语言包:iontree
Format mass spec matrix data into a string format, or vice versa
格式的质谱成一个字符串的格式,反之亦然矩阵数据
译者:生物统计家园网 机器人LoveR
描述----------Description----------
argument x is a 2-column matrix of mz and intenity, or a string format of mz-internsity paris. Character pair of mz and intensity is separated by semicolon, for example, 150 2345.6; 151 4325.67; .... which is often used to represent a mass spectrum as seen in NIST and MassBank.
参数x是一个MZ和intenity的2列矩阵,或MZ-internsity巴黎的字符串格式。 MZ和强度特征对由分号分隔,例如,150 2345.6 151 4325.67; ......它经常被用来代表在NIST和MassBank的质谱。
用法----------Usage----------
formatSpec(x, fromTo = c("mat2str", "str2mat"))
参数----------Arguments----------
参数:x
2-col matrix or type of character depends on "fromTo"
2彩色矩阵或字符类型取决于“FromTo的”
参数:fromTo
type of conversion
类型转换
作者(S)----------Author(s)----------
Mingshu Cao
举例----------Examples----------
x="150 2345.6; 151 4325.67;"
formatSpec(x, fromTo="str2mat")
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|