Filter the columns

作者: Ternq8 | 来源:发表于2020-01-18 04:38 被阅读0次

单细胞测序count table QC要filter 掉low quality cells(columns)
比如:
cells with fewer than 500 detected genes --excluded

count <- function(x){ length((which(x != 0))) }
obj= which(apply(data,2,count)>500)
data=data[,obj]

相关文章