Improvements to prior_kmeans. Need to ensure that 1D works.
Fixed 'prior_kmeans' to work with 1 channel.
Updated 'find_peaks' default to find all of the local maxima after smoothing the data in the channel.
Updated find_peaks to return all peaks observed rather than a specified number. Also, included a similar find_valleys function. Updated mindensity to use both.
Changed the functionality of the 'mindensity' gate to find the cutpoint between two specified peaks.
Simplified and improved the 'mindensity'. This resolve issues in the debris gate for Lyoplate 3.0
Implemented improved prior-elicitation for 1D flowClust. Related to #30
Updated 1D gating code for flowClust to take advantage of updated prior elicitation.
Added option to add artificial prior components. Useful for some markers, such as IgD. Related to #30
Merged tidied source.
For 1D flowClust, we set the default value of K to NULL. Closes #31
Slight fixes to the automatic selection of prior elicitation and determination of K. Related to #31
In the case that K is set for prior elicitation, we now extract only the K largest peaks from any sample.
Slight tweaks to prior elicitation in the case that K, min, or max are set.
Peaks clustering in 1D prior elicitation now uses K-means by default. Fixes #32
Fixed an issue when with flowClust.1d where K was being overwritten by numeric(0) if only one of 'neg' or 'pos' was specified.
Improved exception handling in gating via Bayesian flowClust.
Merged snow support.