subset, outlier sample and export