R/remove.arrays.R

`remove.arrays` <-
function(x,param="target",arrays2rm=c("protein","blank","housekeeping")){

        cols <- which(is.na(match(x[[3]][param,],arrays2rm)))
        
        x[[1]] <- x[[1]][,cols]
        x[[2]] <- x[[2]][,cols]
        x[[3]] <- x[[3]][,cols]
        
        return(x)
}

Try the RPPanalyzer package in your browser

Any scripts or data that you put into this service are public.

RPPanalyzer documentation built on May 2, 2019, 6:10 p.m.