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

Feature/cleanup #2

Merged
merged 39 commits into from
Oct 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
d0c33b5
Initial commit
btmonier Jul 28, 2023
e3112e2
Update console output
btmonier Aug 4, 2023
199ae7d
Add variable
btmonier Aug 4, 2023
d687938
Reorganize classes and generics
btmonier Aug 11, 2023
1b955e3
Initial commit
btmonier Jul 28, 2023
877ad2b
Update console output
btmonier Aug 4, 2023
9343b61
Add variable
btmonier Aug 4, 2023
82320ae
Reorganize classes and generics
btmonier Aug 11, 2023
0c6f9d3
Merge remote-tracking branch 'origin/feature/cleanup' into feature/cl…
btmonier Aug 15, 2023
0772db6
Initial commit
btmonier Jul 28, 2023
9d09462
Update console output
btmonier Aug 4, 2023
07e4b65
Add variable
btmonier Aug 4, 2023
4471d40
Reorganize classes and generics
btmonier Aug 11, 2023
3f02437
Merge remote-tracking branch 'origin/feature/cleanup' into feature/cl…
btmonier Aug 18, 2023
40b3790
Add better config file and server logic
btmonier Aug 18, 2023
af0c1f7
Update URL
btmonier Aug 22, 2023
dfa72c7
Add better PHG server connection checks
btmonier Aug 22, 2023
f3f99a1
Add getters
btmonier Aug 22, 2023
0805432
Initial commit
btmonier Aug 24, 2023
8fd7c9d
Generalize method connection objects
btmonier Aug 24, 2023
daca56c
Version bump
btmonier Aug 25, 2023
03fd1e9
Initial commit
btmonier Aug 25, 2023
7c4e22c
Update getters for PHGMethod class
btmonier Aug 25, 2023
2d980a0
Initial commit
btmonier Aug 27, 2023
720a1a0
Update getters for multiple classes
btmonier Aug 27, 2023
6070616
Rename file
btmonier Aug 28, 2023
7601699
Add comments
btmonier Aug 31, 2023
b20e7db
Change class name
btmonier Aug 31, 2023
66a0383
Add new tests
btmonier Sep 7, 2023
ec97c43
Add new tests
btmonier Sep 8, 2023
5c94205
Add tests
btmonier Sep 29, 2023
8ec312b
Add tests
btmonier Oct 10, 2023
91fdb15
Remove deprecated files
btmonier Oct 10, 2023
1108a8f
Add description field to method table
btmonier Oct 10, 2023
3b13b54
Add plot method for mutual information
btmonier Oct 10, 2023
a2c2b7f
Minor edit
btmonier Oct 10, 2023
12ce6aa
Add press release
btmonier Oct 11, 2023
61089a7
Add R CMD fixes
btmonier Oct 11, 2023
7b227e7
Add new articles
btmonier Oct 11, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 3 additions & 8 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: rPHG
Version: 0.1.18
Version: 0.2.0
Date: 2019-06-03
Title: R front-end for the practical haplotype graph
Authors@R: c(
Expand Down Expand Up @@ -47,24 +47,19 @@ Description:
for genomic selection models. This can in turn increase predictive accuracy
and selection intensity in a breeding program.
License: Apache License (>= 2) | file LICENSE
URL: https://bitbucket.org/bucklerlab/rphg/src/master/,
https://maize-genetics.github.io/rPHG/
URL: https://github.com/maize-genetics/rPHG,
https://rphg.maizegenetics.net/
Imports:
cli,
corrplot,
curl,
GenomeInfoDb,
GenomicRanges,
ggplot2,
httr,
IRanges,
jsonlite,
magrittr,
methods,
parallel,
rJava,
rlang,
S4Vectors,
tibble,
visNetwork
Depends:
Expand Down
119 changes: 56 additions & 63 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,83 +1,76 @@
# Generated by roxygen2: do not edit by hand

export(BrapiCon)
export(PHGLocalCon)
export(PHGMethod)
export(availablePHGMethods)
export(PHGServerCon)
export(brapiURL)
export(getVTList)
export(graphBuilder)
export(numHaploPerRange)
export(pathsForMethod)
export(brapiVersion)
export(buildHaplotypeGraph)
export(calcMutualInfo)
export(configFilePath)
export(dbName)
export(dbType)
export(host)
export(httProtocol)
export(isDemo)
export(javaMemoryAddress)
export(javaRefObj)
export(numHaploPerRefRange)
export(numberOfChromosomes)
export(numberOfNodes)
export(numberOfRefRanges)
export(numberOfTaxa)
export(phgConObj)
export(phgMethodId)
export(phgMethodType)
export(phgType)
export(plotGraph)
export(plotMutualInfo)
export(plotNumHaplo)
export(readMappingTableInfo)
export(readMappingsForLineName)
export(readPHGDatasetFromBrapi)
export(port)
export(readHaplotypeIds)
export(readPHGDataSet)
export(readRefRanges)
export(readSamples)
export(readTable)
export(refRangeTable)
export(referenceSets)
export(references)
export(searchRecombination)
export(searchSimilarGametes)
export(serverInfo)
export(showPHGMethods)
export(startLogger)
export(taxaByNode)
exportClasses(BrapiCon)
exportClasses(BrapiConPHG)
exportClasses(HaplotypeGraph)
exportClasses(PHGCon)
exportClasses(PHGDataSet)
exportMethods(availablePHGMethods)
exportClasses(PHGLocalCon)
exportClasses(PHGMethod)
exportClasses(PHGServerCon)
exportMethods(brapiURL)
exportMethods(readPHGDatasetFromBrapi)
exportMethods(brapiVersion)
exportMethods(calcMutualInfo)
exportMethods(configFilePath)
exportMethods(dbName)
exportMethods(dbType)
exportMethods(host)
exportMethods(httProtocol)
exportMethods(isDemo)
exportMethods(javaMemoryAddress)
exportMethods(javaRefObj)
exportMethods(numHaploPerRefRange)
exportMethods(numberOfChromosomes)
exportMethods(numberOfNodes)
exportMethods(numberOfRefRanges)
exportMethods(numberOfTaxa)
exportMethods(phgConObj)
exportMethods(phgMethodId)
exportMethods(phgMethodType)
exportMethods(phgType)
exportMethods(plotGraph)
exportMethods(plotMutualInfo)
exportMethods(port)
exportMethods(readHaplotypeIds)
exportMethods(readPHGDataSet)
exportMethods(readRefRanges)
exportMethods(readSamples)
exportMethods(readTable)
exportMethods(referenceSets)
exportMethods(references)
exportMethods(serverInfo)
import(ggplot2)
importFrom(GenomeInfoDb,dropSeqlevels)
importFrom(GenomicRanges,GRanges)
importFrom(IRanges,IRanges)
importFrom(IRanges,subsetByOverlaps)
importFrom(S4Vectors,DataFrame)
importFrom(S4Vectors,metadata)
importFrom(SummarizedExperiment,SummarizedExperiment)
importFrom(SummarizedExperiment,as.data.frame)
importFrom(SummarizedExperiment,assay)
importFrom(SummarizedExperiment,assays)
importFrom(SummarizedExperiment,ranges)
importFrom(SummarizedExperiment,rowRanges)
importFrom(SummarizedExperiment,seqnames)
importFrom(cli,cli_progress_bar)
importFrom(cli,cli_progress_done)
importFrom(cli,cli_progress_step)
importFrom(cli,cli_progress_update)
importFrom(corrplot,corrplot)
exportMethods(showPHGMethods)
exportMethods(taxaByNode)
importFrom(curl,has_internet)
importFrom(httr,GET)
importFrom(httr,content)
importFrom(jsonlite,fromJSON)
importFrom(magrittr,"%>%")
importFrom(methods,new)
importFrom(methods,setClass)
importFrom(parallel,mclapply)
importFrom(rJava,.jcall)
importFrom(rJava,.jcast)
importFrom(rJava,.jevalArray)
importFrom(rJava,.jnew)
importFrom(rJava,.jnull)
importFrom(rJava,J)
importFrom(rJava,is.jnull)
importFrom(rJava,new)
importFrom(rlang,.data)
importFrom(stats,median)
importFrom(stats,model.matrix)
importFrom(tibble,as_tibble)
importFrom(tibble,tibble)
importFrom(visNetwork,visEdges)
importFrom(visNetwork,visHierarchicalLayout)
importFrom(visNetwork,visNetwork)
25 changes: 25 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,3 +1,28 @@
## CHANGES IN VERSION 0.2.0
* Unified workflow for both local and server instances
* Added new class, `PHGServerCon`
+ New object for connecting to remote public PHG servers using BrAPI
endpoints
* Added new class, `PHGLocalCon`
+ New object for connecting to local SQLite or PostgreSQL database
instances
* Added new class, `HaplotypeGraph`
+ Wrapper for PHG API Java graph object
* Prior objects now use method dispatch for singular set of methods to return
relevant PHG data:
+ `PHGMethod()`
+ `showPHGMethods()`
+ `readSamples()`
+ `readRefRanges()`
+ `readHaplotypeIds()`
+ `readPHGDataSet()`
* Updated summary methods:
+ `numHaploPerRefRange()`
+ `calcMutualInfo()`
+ `plotGraph()`
+ `plotMutualInfo()`


## CHANGES IN VERSION 0.1.18
* Fixed `availablePHGMethods()`:
+ Now returns only method IDs for graphs with more than 100 samples in the
Expand Down
25 changes: 25 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,28 @@
## rPHG 0.2.0
* Unified workflow for both local and server instances
* Added new class, `PHGServerCon`
+ New object for connecting to remote public PHG servers using BrAPI
endpoints
* Added new class, `PHGLocalCon`
+ New object for connecting to local SQLite or PostgreSQL database
instances
* Added new class, `HaplotypeGraph`
+ Wrapper for PHG API Java graph object
* Prior objects now use method dispatch for singular set of methods to return
relevant PHG data:
+ `PHGMethod()`
+ `showPHGMethods()`
+ `readSamples()`
+ `readRefRanges()`
+ `readHaplotypeIds()`
+ `readPHGDataSet()`
* Updated summary methods:
+ `numHaploPerRefRange()`
+ `calcMutualInfo()`
+ `plotGraph()`
+ `plotMutualInfo()`


## rPHG 0.1.18
* Modified `availablePHGMethods()`:
+ Now returns only method IDs for graphs with more than 100 samples in the
Expand Down
Loading