R/subcell.list.dist.R

Defines functions subcell.list.dist

# subcell_dists is generated in the main_CellTypeAnalysis_Preperation.r file
subcell.list.dist <- function(hitGenes,sct_data){
    ValidGenes = rownames(sct_data$subcell_dists)[rownames(sct_data$subcell_dists) %in% hitGenes]
    temp = sct_data$subcell_dists[ValidGenes,]
    return(apply(temp,2,sum))
}

Try the EWCE package in your browser

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

EWCE documentation built on May 31, 2017, 3:16 p.m.