Skip to content
Snippets Groups Projects
Commit b04f754e authored by Hanna  JULIENNE's avatar Hanna JULIENNE
Browse files

added gain

parent 08b99873
No related branches found
No related tags found
2 merge requests!97Newmain gain,!92Predict gain
include README.md include README.md
include setup.cfg include setup.cfg
include jass/swagger/swagger.yaml include jass/swagger/swagger.yaml
recursive-include jass/static * recursive-include jass/models/data/ *.tsv
recursive-include celery_files * recursive-include jass/static *
\ No newline at end of file
0
k_coef_mv 0.07740334977380119
log10_avg_distance_cor_coef_mv -0.6999110771883902
log10_mean_gencov_coef_mv 0.746794584985343
avg_Neff_coef_mv 0.07289261717080556
avg_h2_coef_mv -0.516496395500929
avg_perc_h2_diff_region_coef_mv 0.15727591593399
minimum_value maximum_value
k 2.0 12.0
log10_avg_distance_cor -4.675617219570908 0.20864138105896807
log10_mean_gencov -4.4093921991254446 -0.46117501106209624
avg_Neff 6730.5 697828.0
avg_h2 0.014033707225812 0.4361454950334251
avg_perc_h2_diff_region 0.0906544694784672 0.9831222899777692
import pkg_resources
import pandas as pd import pandas as pd
import numpy as np import numpy as np
import os
# data issued from https://doi.org/10.1101/2023.10.27.564319 # data issued from https://doi.org/10.1101/2023.10.27.564319
X_range = pd.read_csv("./data/range_feature_gain_prediction.tsv", sep="\t", index_col=0) stream = pkg_resources.resource_stream(__name__, 'data/range_feature_gain_prediction.tsv')
model_coefficients = pd.read_csv("./data/coef_mean_model.tsv", sep="\t", index_col=0) X_range = pd.read_csv(stream, sep="\t", index_col=0)
stream = pkg_resources.resource_stream(__name__, 'data/coef_mean_model.tsv')
model_coefficients = pd.read_csv(stream, sep="\t", index_col=0)
# Scale according to observed # Scale according to observed
def scale_feature(X, feature_name): def scale_feature(X, feature_name):
......
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
...@@ -31,7 +31,7 @@ setup( ...@@ -31,7 +31,7 @@ setup(
install_requires=REQUIRES, install_requires=REQUIRES,
license="MIT", license="MIT",
keywords=["GWAS", "Data analysis", "summary statistics"], keywords=["GWAS", "Data analysis", "summary statistics"],
package_data={'jass': ['swagger/swagger.yaml']}, package_data={'jass': ['swagger/swagger.yaml', "data/*.tsv"]},
include_package_data=True, include_package_data=True,
long_description=readme, long_description=readme,
long_description_content_type="text/markdown", long_description_content_type="text/markdown",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment