pub fn arrays_from_reader<'a, R: Read>(source: R) -> Result<ArrayPair<'a>>
A helper function to read an ArrayPair from a Read type. The expected format is a tab-separated file denoting an m/z intensity pair, with one pair per line.
ArrayPair
Read