All of the objects used in the minfi package inherit from either the eSet or RangedSummarizedExperiment class, so they act identically to a data.frame under subsetting. In other words if you have your data in an object called, say, 'eset', and you have a vector of p-values (called 'pval') with the same length as nrow(eset), then you can do