Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package:

source:
git_rev: v0.0.1
git_url: https://github.com/LucasESBS/scoreCT
git_url: https://github.com/asaravia-butler/scoreCT

requirements:
host:
Expand All @@ -21,7 +21,7 @@ requirements:
- seaborn

about:
home: https://github.com/LucasESBS/scoreCT
home: https://github.com/asaravia-butler/scoreCT
license: MIT
license_familY: MIT
license_file: LICENSE.md
Expand Down
4 changes: 3 additions & 1 deletion scorect/scorect_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,13 +115,15 @@ def wrangle_ranks_from_anndata(anndata, cluster_key='louvain'):
top_gene = pd.DataFrame(anndata.uns['rank_genes_groups']['names']).loc[:nb_marker]
marker_df = pd.DataFrame()
# Order values
concat_list = []
for i in top_score.columns:
concat = pd.concat([top_score[[str(i)]], top_adjpval[str(i)], top_gene[[str(i)]]], axis=1, ignore_index=True)
concat['cluster_number'] = i
col = list(concat.columns)
col[0], col[1], col[-2] = 'z_score', 'adj_pvals', 'gene'
concat.columns = col
marker_df = marker_df.append(concat)
concat_list.append(concat)
marker_df = pd.concat(concat_list, ignore_index=True)
return marker_df


Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
description="scoreCT: Automated cell type annotation in scRNA-seq data",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/LucasESBS/scoreCT",
url="https://github.com/asaravia-butler/scoreCT",
packages=setuptools.find_packages(),
classifiers=(
"Programming Language :: Python :: 3",
Expand Down