Click here for the paper detailing this EEG preprocessing pipeline.
Click here for the Matlab and R scripts pertaining to this EEG preprocessing pipeline.
EEG Analysis Pipeline Tutorial