生命科学-简书专题

Filter the columns

2020-01-18  本文已影响0人  Ternq8

单细胞测序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]
上一篇 下一篇

猜你喜欢

热点阅读