peaks(mzR)
peaks()所属R语言包:mzR
Access the raw data from an mzR object.
访问从一个MZR对象的原始数据。
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Access the MS raw data. The peaks and peaksCount functions return the (m/z,intensity) pairs and the number peaks in the spectrum/spectra. peaks returns a single matrix if scans is a numeric of length 1 and a list of matrices if several scans are asked for or no scans argument is provided (i.e all spectra in the oject are retured). peaksCount will return a numeric of length n.
访问MS原始数据。 peaks和peaksCount函数返回在频谱/光谱(M / Z,强度)对数峰。 peaks返回一个矩阵,如果scans是一个长度为1的矩阵列表numeric如果要求多次扫描或没有scans参数(即所有光谱在oject等分)。 peaksCount将返回一个长度n的数字。
The header function returns a list containing seqNum, acquisitionNum , msLevel, peaksCount, totIonCurrent, retentionTime, basePeakMZ, basePeakIntensity, collisionEnergy, ionisationEnergy, lowM, highMZ, precursorScanNum, precursorMZ, precursorCharge, precursorIntensity, mergedScan, mergedResultScanNum, mergedResultStartScanNum and mergedResultEndScanNum, when available in the original file. If multiple scans are queried, a data.frame is returned with the scans reported along the rows.
header函数返回一个列表,其中包含seqNum,acquisitionNum,msLevel,peaksCount,totIonCurrent,retentionTime,<X >,basePeakMZ,basePeakIntensity,collisionEnergy,ionisationEnergy,lowM,highMZ,precursorScanNum,precursorMZ precursorCharge,precursorIntensity,mergedScan,mergedResultScanNum和mergedResultStartScanNum,当在原始文件中。如果有多个扫描查询,mergedResultEndScanNum返回沿行扫描报告。
The get3Dmap function performs a simple resampling between lowMz and highMz with reMz resolution. A matrix of dimensions length(scans) times seq(lowMz,highMz,resMz) is returned.
get3Dmap函数执行lowMz和highMzreMz决议之间的简单重采样。一个维度的矩阵length(scans)次seq(lowMz,highMz,resMz)返回。
用法----------Usage----------
header(object, scans, ...)
peaksCount(object, scans, ...)
peaks(object, scans, ...)
get3Dmap(object, scans, lowMz, highMz, resMz, ...)
参数----------Arguments----------
参数:object
An instantiated mzR object.
一个实例mzR对象。
参数:scans
A numeric specifying which scans to return. Optional for the header, peaks and peaksCount methods. If ommited, the requested data for all peaks is returned.
一个numeric指定扫描返回。可选header,peaks和peaksCount方法。如果ommited,为所有的山峰请求的数据返回。
参数:lowMz, highMz
Numerics defining the m/z range to be returned.
Numeric的定义要返回的m / z范围。
参数:resMz
a numeric defining the m/z resolution.
numeric定义为m / z决议。
参数:...
Other arguments. Currently ignored.
其他参数。目前被忽略。
作者(S)----------Author(s)----------
Steffen Neumann and Laurent Gatto
参见----------See Also----------
instrumentInfo for metadata access and the "mzR" class.
instrumentInfo元数据的访问和"mzR"类。
举例----------Examples----------
library(msdata)
filepath <- system.file("microtofq", package = "msdata")
file <- list.files(filepath, pattern="MM14.mzML",
full.names=TRUE, recursive = TRUE)
mz <- openMSfile(file)
runInfo(mz)
colnames(header(mz))
close(mz)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|