找回密码
 注册
查看: 2291|回复: 0

R语言 xcms包 specDist.cosine()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-26 16:09:39 | 显示全部楼层 |阅读模式
specDist.cosine(xcms)
specDist.cosine()所属R语言包:xcms

                                        a Distance function based on matching peaks
                                         基于匹配峰的距离函数

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

This method calculates the distance of two sets of peaks using the cosine-distance.
这种方法计算的两套使用余弦距离峰的距离。


用法----------Usage----------


specDist.cosine(peakTable1, peakTable2, mzabs=0.001, mzppm=10, mzExp=0.6, intExp=3, nPdiff=2, nPmin=8, symmetric=FALSE)



参数----------Arguments----------

参数:peakTable1
a Matrix containing at least m/z-values, row must be called "mz"
矩阵至少含有M / z值,行必须被称为“MZ”


参数:peakTable2
the matrix for the other mz-values
MZ-值矩阵


参数:mzabs
maximum absolute deviation for two matching peaks
两个匹配峰的最大绝对偏差


参数:mzppm
relative deviations in ppm for two matching peaks
在PPM的两个匹配峰的相对偏差


参数:symmetric
use symmetric pairwise m/z-matches only, or each match
使用对称成对M / Z-匹配,或每场比赛


参数:mzExp
the exponent used for mz
为MZ指数


参数:intExp
the exponent used for intensity
使用的强度指数


参数:nPdiff
the maximum nrow-difference of the two peaktables
最大NROW差异的两个peaktables


参数:nPmin
the minimum absolute sum of peaks from both praktables
来自praktables峰的最小绝对值总和


Details

详情----------Details----------

The result is the cosine-distance of the product from weighted factors  of mz and intensity from matching peaks in the two peaktables.  The factors are calculated as wFact = mz^mzExp * int^intExp. if no distance is calculated (for example because no matching  peaks were found) the return-value is NA.
结果是余弦距离从匹配的产品在两个peaktables峰MZ和强度的加权因素。因素计算wFact = MZ ^ mzExp * INT ^ intExp。如果没有距离的计算(例如,因为没有匹配的峰)的返回值是NA。


方法----------Methods----------

     specDist.cosine(peakTable1, peakTable2, mzabs = 0.001, mzppm = 10,  mzExp = 0.6, intExp = 3, nPdiff = 2, nPmin = 8,  symmetric = FALSE)     
     specDist.cosine(peakTable1, peakTable2, mzabs = 0.001, mzppm = 10,  mzExp = 0.6, intExp = 3, nPdiff = 2, nPmin = 8,  symmetric = FALSE)     


作者(S)----------Author(s)----------


Joachim Kutzera, <a href="mailto:jkutzer@ipb-halle.de">jkutzer@ipb-halle.de</a>

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-2-2 16:52 , Processed in 0.024396 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表