View source: R/organize_libraries_MS2.R
separate_polarity | R Documentation |
separate_polarity
offers a way to separate a MS2 library based on
polarity.
separate_polarity(lib, polarity)
lib |
A MS2 library mixed with positive and negative modes. |
polarity |
The polarity, can be either "pos" or "neg" |
Some libraries, e.g., NIST and GNPS have both positive and negative MS2 records mixed in a singled file. However, in practice, a MS2 library should be either positive or negative based on the polarity used in the experiment. Therefore, this function provides a way to separate positive and negative modes in MS2 library.
A list
, being positive or negative
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.