mds function for minfi RGsets