-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8bf3e1a
commit ea1ce13
Showing
5 changed files
with
36 additions
and
4 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -321,3 +321,4 @@ def load_trained_network(args): | |
|
||
|
||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import os | ||
import sys | ||
import pandas as pd | ||
import shutil | ||
from os.path import dirname, abspath | ||
import os | ||
sys.path.insert(1, os.getcwd()) | ||
from GenNet_utils.Interpret import interpret | ||
|
||
# TODO: add test without covariates | ||
# TODO add test with covariates for regression + classification | ||
# TODO add test with multiple genotype files. | ||
# test randomnesss after .. epoch shuffles. | ||
# ToDO add test for each file. | ||
|
||
class ArgparseSimulator(): | ||
def __init__(self, | ||
resultpath = "/trinity/home/avanhilten/repositories/epistasis/prototyping/GenNet_realLife_data/GenNet/results/GenNet_experiment_2_/", | ||
type = "NID", | ||
layer = None | ||
): | ||
|
||
self.resultpath = resultpath | ||
self.type = type | ||
self.layer = layer | ||
|
||
|
||
args = ArgparseSimulator() | ||
print("done") | ||
|
||
interpret(args) |