#' @export
drop_bad_detection_probes <- function(mSetFiltered, det.p){
det.p <- det.p[match(featureNames(mSetFiltered), rownames(det.p)), ]
keep <- rowSums(det.p < 0.01) == ncol(mSetFiltered)
mSetFiltered <- mSetFiltered[keep,]
return(mSetFiltered)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.