# #——创业,结果=“隐藏”,呼应= FALSE,消息= FALSE ----------------------- 库(mzID) ps.options (pointsize = 12) # #——解析,整洁= TRUE ------------------------------------------------------- exampleFiles < list.files(系统。file('extdata', package = 'mzID'), pattern = 'mzid ', full.names = TRUE) mzResults < - mzid (exampleFiles [5]) mzResults # #——class_overview整洁= TRUE ------------------------------------------------ showClass(“mzID ') ## ---- 平整,整洁= TRUE ---------------------------------------------------- flatResults < -平(mzResults)名称(flatResults) nrow (flatResults) #一个mzID对象的长度是PSM的数量的长度(mzResults) # #——检查,整洁= TRUE ---------------------------------------------------- flatResults长度nchar美元(flatResults序列美元)substr(美元flatResults序列1 10)