R/data_clean.R

Defines functions data_clean

data_clean <- function(rawfeature){

    ind <- which(rowSums(rawfeature>0)>=10)
    feature <- rawfeature[ind, ]
    feat.names <- rownames(feature)

    return(list(feature = feature,
                feat.names = feat.names)
            )
}

Try the SDAMS package in your browser

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

SDAMS documentation built on Nov. 8, 2020, 6:10 p.m.