-
Notifications
You must be signed in to change notification settings - Fork 43
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
[ENH,REF] Adds new region_agg
parameter
#131
Conversation
Now users can specify whether to aggregate samples belonging to the same region in `atlas` across donors or samples.
donor_norm --> gene_norm, and batch no longer accepted in normalize_expression
Codecov Report
@@ Coverage Diff @@
## master #131 +/- ##
==========================================
- Coverage 90.14% 89.95% -0.19%
==========================================
Files 32 32
Lines 1959 1962 +3
==========================================
- Hits 1766 1765 -1
- Misses 193 197 +4
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #131 +/- ##
==========================================
+ Coverage 90.14% 90.23% +0.08%
==========================================
Files 32 32
Lines 1959 1996 +37
==========================================
+ Hits 1766 1801 +35
- Misses 193 195 +2
Continue to review full report at Codecov.
|
Handling of annotation files wasn't being done correctly after I removed `samples.update_samples` and merged the functionality into `allen.get_expression_data()`
Related to #125 (insomuch as it temporarily removes
batch
normalization as an option)This adds the
region_agg
parameter (and renamesmetric
toagg_metric
) in theabagen.get_expression_data()
function. This parameter controls how samples belonging to the same region are combined (i.e., [1] aggregated separately for each donor and then combined across donors or [2] aggregated across all donors simultaneously).Also some minor updates to various typos and doc-strings throughout the package.
To Do:
sample_norm
vsdonor_norm
differencesregion_agg
andagg_metric
optionsabagen.get_expression_data()
andabagen
CLI is up-to-dateabagen.samples
abagen.get_expression_data
andabagen
CLI