R/cell.list.dist.R

Defines functions cell.list.dist

# cell_dists is generated in the main_CellTypeAnalysis_Preperation.r file
cell.list.dist <- function(hitGenes,sct_data){
    ValidGenes = rownames(sct_data$cell_dists)[rownames(sct_data$cell_dists) %in% hitGenes]
    temp = sct_data$cell_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.