Get the peak names which have identifications. [Maturing]

which_has_identification(object)

Arguments

object

A metIdentifyClass object.

Value

Peak names with identifications.

See also

The example and demo data of this function can be found https://jaspershen.github.io/metID/articles/metID.html

Author

Xiaotao Shen shenxt1990@163.com

Examples

data("annotate_result", package = "metID")
which_has_identification(annotate_result)
#>    MS1.peak.name               MS2.spectra.name
#> 1      pRPLC_603 mz162.112442157672rt37.9743312
#> 2      pRPLC_722  mz181.072050304971rt226.14144
#> 3     pRPLC_1046 mz181.072050673093rt196.800648
#> 4     pRPLC_1112 mz209.092155077047rt58.3735608
#> 5     pRPLC_1307 mz314.232707486156rt400.268664
#> 6     pRPLC_1860   mz249.185015539689rt579.6807
#> 7     pRPLC_2151  mz363.219789874681rt639.06132
#> 8     pRPLC_2171   mz568.339426689102rt651.8226
#> 9     pRPLC_3110 mz414.299882562149rt547.018302
#> 10    pRPLC_3138 mz286.143744909833rt539.856222
#> 11    pRPLC_3927  mz232.154645316297rt81.379896
#> 12    pRPLC_3959    mz153.065948486328rt79.9428
#> 13    pRPLC_4508 mz260.185769513105rt221.518974
#> 14    pRPLC_5025 mz195.087723069497rt282.107316
#> 15    pRPLC_5044  mz286.201128766454rt283.41231
#> 16    pRPLC_5461  mz310.20109172433rt337.353198
#> 17   pRPLC_19596 mz310.201172089798rt321.875562
#> 18   pRPLC_20350 mz352.165086040505rt255.455742
#> 19   pRPLC_21471   mz166.072528849955rt78.64743
#> 20   pRPLC_21522  mz123.055358886719rt71.791338
#> 21   pRPLC_22098 mz182.081244423266rt34.2243402