在seurat分析單細(xì)胞數(shù)據(jù)的時(shí)候唬涧,用了PercentageFeatureSet
這個(gè)函數(shù)剩瓶,報(bào)錯(cuò)了:
Error in h(simpleError(msg, call)) :
error in evaluating the argument 'x' in selecting a method for function 'colSums': no 'dimnames[[.]]': cannot use character indexing
修改方法
DefaultAssay(sce.combined) ='RNA'
因?yàn)檫@個(gè)函數(shù)不針對(duì)整合數(shù)據(jù)