Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REF] Updates get_expression_data() #38

Merged
merged 9 commits into from
Apr 18, 2019
Merged

[REF] Updates get_expression_data() #38

merged 9 commits into from
Apr 18, 2019

Conversation

rmarkello
Copy link
Owner

Closes #35.

Calling abagen.get_expression_data() no longer requires users to pass a files object obtained from abagen.fetch_microarray_data() -- it just calls it automatically!

Rather than needing to separately fetch human microarray expression
data prior to wrangling it with `get_expression_data()` the function now
automatically fetches it for you. Need to provide a mechanism for users
to specify where the data are kept so it doesn't try to download it to
the present working directory every time...
Much faster thanks to more effective use of scipy.ndimage
functionality. 🤦 for the way it was being used initially,
though I guess you have to learn somehow!
Users can now specify directory where AHBA files are to be downloaded
(or are kept)
Removes `files` parameter, adds `data_dir` and `donors` kwargs
Changed `labels_of_interest` parameter in utils.get_centroids() to
`labels` but didn't change any of the references to it throughout the
package
Usage documentation now reflects updated API of
`abagen.get_expression_data()`
@codecov-io
Copy link

Codecov Report

Merging #38 into master will decrease coverage by 0.11%.
The diff coverage is 96.29%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #38      +/-   ##
==========================================
- Coverage   97.09%   96.98%   -0.12%     
==========================================
  Files          24       24              
  Lines         965      961       -4     
==========================================
- Hits          937      932       -5     
- Misses         28       29       +1
Impacted Files Coverage Δ
abagen/tests/test_allen.py 100% <100%> (ø) ⬆️
abagen/correct.py 100% <100%> (ø) ⬆️
abagen/tests/conftest.py 100% <100%> (ø) ⬆️
abagen/allen.py 99.06% <100%> (-0.94%) ⬇️
abagen/tests/test_correct.py 100% <100%> (ø) ⬆️
abagen/utils.py 96.47% <90.9%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 84e4755...3179251. Read the comment docs.

@coveralls
Copy link

coveralls commented Apr 8, 2019

Pull Request Test Coverage Report for Build 202

  • 26 of 27 (96.3%) changed or added relevant lines in 6 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage decreased (-0.1%) to 96.979%

Changes Missing Coverage Covered Lines Changed/Added Lines %
abagen/utils.py 10 11 90.91%
Files with Coverage Reduction New Missed Lines %
abagen/allen.py 1 99.07%
Totals Coverage Status
Change from base Build 195: -0.1%
Covered Lines: 931
Relevant Lines: 960

💛 - Coveralls

@rmarkello rmarkello changed the title [WIP, REF] Updates get_expression_data() [REF] Updates get_expression_data() Apr 18, 2019
@rmarkello rmarkello merged commit ce73883 into master Apr 18, 2019
@rmarkello rmarkello deleted the ref/get_expression branch April 18, 2019 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Automatically fetch human micoarray data
3 participants