checkSamples: Modify a MethylationSet to only contain common samples
Description
This function removes samples that have beta values but no phenotypes and vice versa.
If snps object is present, only samples present in the three set are retained.
if (require(MEALData)){
betavals <- betavals[1:100, ] ## To speed up the example, the beta values are reduced methy <- prepareMethylationSet(betavals, pheno)
checkSamples(methy)
}