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

Speed Improvements and Rename of Variables #14

Merged
merged 3 commits into from
Nov 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
84 changes: 49 additions & 35 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions webgestalt_lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@ rust-version = "1.63.0"

[dependencies]
csv = "1.3.0"
serde = { version = "1.0.188", features = ["std", "derive"] }
serde = { version = "1.0.190", features = ["std", "derive"] }
rand = { version = "0.8.5", features = ["small_rng"] }
rayon = "1.8.0"
rustc-hash = "1.1.0"
statrs = "0.16.0"
ahash = "0.8.3"
ahash = "0.8.6"

[dev-dependencies]
pretty_assertions = "1.4.0"
Expand Down
6 changes: 3 additions & 3 deletions webgestalt_lib/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Supported methods include:

## Installation

To use webgestalt_lib in your Rust project, add the following line to your `Cargo.toml`.
To use webgestalt_lib in your Rust project, add the following line to your `Cargo.toml`.

```toml
webgestalt_lib = {git = "https://github.com/bzhanglab/webgestalt_rust.git"}
Expand All @@ -23,8 +23,8 @@ If you are just interested in running an analysis, rather than develop new tools

1. Fast and correct implementations of enrichment methods
2. Full compatibility with the WebGestaltR package
- The R package provides the most reporting functionality, and project was initially created to only assist the R package with the computation aspects
- The R package provides the most reporting functionality, and project was initially created to only assist the R package with the computation aspects
3. Fast compilation times
- Every package install has to build the library from scratch, so the lower number of dependencies, the better
- Every package install has to build the library from scratch, so the lower number of dependencies, the better

This crate does not provide any data formatting, or charts to display the results of the analysis. This work has already been done by the [R package](https://github.com/bzhanglab/webgestaltr), and a limited implementation is provided by the Rust CLI. The focus for this library is purely computational.
Loading