-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat: Feature gene annotation (#132)
* annotate (in .uns['cnv']['var']) which window contains which genes * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * remove black magic comma * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * first pass at gene convolution annotation * sorting some conflicts * feature annotation working * adding test to calcualte gene average * Converting gene matrix into sparse matrix * updating gene position to using pandas * linting * adding more tests * Delete .vscode directory * adding scanpy to conf.py * changing scanpy.tl.pca to sc.tl.pca to get build docs to work * Saving CNV matrix as sparse matrix * adding back infercnv.py * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fixing linting error * editing code to appease ruff * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Converting gene conv to numpy array * Making the calculation of per gene values optional * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: redst4r <redst4r@web.de> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Gregor Sturm <gregor.sturm@i-med.ac.at> Co-authored-by: Gregor Sturm <mail@gregor-sturm.de>
- Loading branch information
1 parent
ad98e58
commit 0073690
Showing
5 changed files
with
391 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,5 +28,9 @@ __pycache__/ | |
/.idea/ | ||
/.vscode/ | ||
|
||
infercnv_env/ | ||
# Notebooks | ||
.ipynb_checkpoints | ||
|
||
# Node.js | ||
node_modules/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.