コード例 #1
0
ファイル: test_fetch_atlas.py プロジェクト: pythseq/northstar
def test_fetch_multiple_subsample():
    af = AtlasFetcher()
    atlas = af.fetch_multiple_atlases(['Darmanis_2015', 'Enge_2017'],
                                      kind='subsample')
    assert (isinstance(atlas, dict))
    assert ('counts' in atlas)
    assert ('cell_types' in atlas)
コード例 #2
0
def test_fetch_multiple_subsample():
    af = AtlasFetcher()
    atlas = af.fetch_multiple_atlases(['Darmanis_2015', 'Enge_2017'],
                                      kind='subsample')
    assert (isinstance(atlas, AnnData))
    assert ('CellType' in atlas.obs.columns)
    assert ('Dataset' in atlas.obs.columns)
コード例 #3
0
ファイル: test_fetch_atlas.py プロジェクト: pythseq/northstar
def test_fetch_multiple():
    af = AtlasFetcher()
    atlas = af.fetch_multiple_atlases(['Darmanis_2015', 'Enge_2017'])
    assert (isinstance(atlas, dict))
    assert ('counts' in atlas)
    assert ('number_of_cells' in atlas)
コード例 #4
0
def test_fetch_multiple():
    af = AtlasFetcher()
    atlas = af.fetch_multiple_atlases(['Darmanis_2015', 'Enge_2017'])
    assert (isinstance(atlas, AnnData))
    assert ('NumberOfCells' in atlas.obs.columns)