Пример #1
0
 def test_get_mito_genes_mouse(self): 
     qc=QualityControl(self.mtx_df_50x40,self.genes,self.barcodes)
     mt_genes =  qc.get_mito_genes('mouse')
     
     assert isinstance(mt_genes,list)
     assert np.shape(mt_genes) == (37,)
     assert mt_genes[0] == 'ENSMUSG00000064336'
     assert mt_genes[-1] ==  'ENSMUSG00000064372'
Пример #2
0
 def test_get_mito_genes_human(self): 
     qc=QualityControl(self.mtx_df_50x40,self.genes,self.barcodes)
     mt_genes =  qc.get_mito_genes('human')
     
     assert isinstance(mt_genes,list)
     assert np.shape(mt_genes) == (37,)
     assert mt_genes[0] == 'ENSG00000210049'
     assert mt_genes[-1] ==  'ENSG00000210196'