R/raw_to_tbl.R
extract_polarity.Rd
Extracts polarity from an xcmsRaw object. The polarity found in the majority of scans is returned.
extract_polarity(xraw)
The xcmsRaw object to extract polarity from.
A character string giving the polarity. Can be "positive", "negative", or "unknown".