Skip to content

Commit

Permalink
Merge pull request #41 from senresearch/dev
Browse files Browse the repository at this point in the history
v0.3.1
  • Loading branch information
GregFa committed Nov 1, 2023
2 parents 4850923 + 26e03f8 commit d325f83
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 10 deletions.
3 changes: 1 addition & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "GeneNetworkAPI"
uuid = "5ef98721-7938-4c15-bad2-60f0fa16d62a"
authors = ["Chelsea Trotter <chelsea.xhu@gmail.com>", "Gregory Farage <gfarage@uthsc.edu>", "Saunak Sen <sen@uthsc.edu>"]
version = "0.3.0"
version = "0.3.1"

[deps]
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
Expand All @@ -13,6 +13,5 @@ JSON = "682c06a0-de6a-54ab-a142-c8b1cf79cde6"
[compat]
CSV = "0.10, 1"
DataFrames = "1"
HTTP = "0.9, 1"
JSON = "0.21, 1"
julia = "1"
2 changes: 2 additions & 0 deletions docs/Project.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[deps]
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
2 changes: 1 addition & 1 deletion docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ makedocs(;
deploydocs(;
repo="github.com/senresearch/GeneNetworkAPI.jl",
devbranch="dev",
)
)
26 changes: 26 additions & 0 deletions docs/src/functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,41 @@ GeneNetworkAPI.check_gn
GeneNetworkAPI.list_datasets
GeneNetworkAPI.list_groups
GeneNetworkAPI.list_species
GeneNetworkAPI.list_geno
```

## Get data and information

```@docs
GeneNetworkAPI.get_geno
GeneNetworkAPI.get_pheno
GeneNetworkAPI.get_omics
GeneNetworkAPI.info_dataset
GeneNetworkAPI.info_pheno
```
## Download data

```@docs
GeneNetworkAPI.download_geno
GeneNetworkAPI.download_pheno
GeneNetworkAPI.download_omics
```

## Display table

```@docs
GeneNetworkAPI.show_table
```

## Utils

```@docs
GeneNetworkAPI.make_rectangular
GeneNetworkAPI.has_error_500
GeneNetworkAPI.parse_geno
GeneNetworkAPI.genofile_location
GeneNetworkAPI.has_genofile_meta
```

## Run jobs on the server
Expand Down
4 changes: 2 additions & 2 deletions src/query.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ different instance of the server.
```jldoctest
julia> gn_url()
"http://gn2.genenetwork.org/api/v_pre1/"
"https://genenetwork.org/api/v_pre1/"
```
"""
function gn_url()
return url = "http://gn2.genenetwork.org/api/v_pre1/"
return url = "https://genenetwork.org/api/v_pre1/"
end

"""
Expand Down
10 changes: 5 additions & 5 deletions test/generate_ref.jl
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,11 @@ dfInfoPheno3 = GeneNetworkAPI.DataFrame(

dfGemma = GeneNetworkAPI.DataFrame(
Mb = [24.916883],
additive = [-2.292895],
chr = [2],
lod_score = [15.186008593663088],
additive = [-2.292896],
chr = Vector{Any}([2]),
lod_score = [15.186000529222568],
name = ["rs32869517"],
p_value = [6.516155e-16]
p_value = [6.516276e-16]
)

# TEST 10 - refs
Expand All @@ -140,4 +140,4 @@ dfCorrelation = GeneNetworkAPI.DataFrame(
p_value = [0.00018929765647785504],
sample_r = [-0.8756580854229329],
trait = [12762]
)
)

2 comments on commit d325f83

@GregFa
Copy link
Member Author

@GregFa GregFa commented on d325f83 Nov 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/94575

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.3.1 -m "<description of version>" d325f83fa5b7b8914a4afeab439ce5d7332cb07f
git push origin v0.3.1

Please sign in to comment.