-
Notifications
You must be signed in to change notification settings - Fork 1
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
Showing
6 changed files
with
140 additions
and
24 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,63 @@ | ||
|
||
# banffIT 1.0.0 | ||
# banffIT 0.1.0 | ||
|
||
This package is a xxx xxx xxx | ||
The banffIT package provides provides functions to assign standardized | ||
diagnosis using the Banff Classification (Category 1 to 6 diagnoses, | ||
including Acute and Chronic active T-cell mediated rejection as well as | ||
Active, Chronic active, and Chronic antibody mediated rejection). The | ||
main function | ||
[banff_launcher()](https://PersonalizedTransplantCare.github.io/banffIT-documentation/reference/banff_launcher.html) | ||
considers a minimal dataset containing biopsies information in a | ||
specific format (described by a data dictionary), verifies its content | ||
and format (based on the data dictionary), assign diagnoses, and create | ||
a summary report. | ||
|
||
## Helper functions | ||
## Main functionality | ||
|
||
- function `banff_launcher()` This function takes a path string | ||
identifying the input file path. The function internally runs a series | ||
of tests that assess the input dataset. If any of these tests fails, | ||
the user gets information allowing them to correct the input dataset | ||
and rerun the process. Once all tests pass, the dataset is given as an | ||
output with a diagnosis for each observation (using the function | ||
[add_diagnosis()](https://PersonalizedTransplantCare.github.io/banffIT-documentation/reference/add_diagnosis.html) | ||
internally). The output dataset, along with its associated labels | ||
(“label:en” by default) are provided to the user in an Excel format | ||
file accessible in the output_folder specified (the working directory | ||
by default). The output dataset comes with a report that summarizes | ||
information about variable distributions and descriptive statistics. | ||
|
||
## additional functions (used in the main function, but can be used separately) | ||
|
||
- function `banff_dataset_evaluate()` This function takes a dataset and | ||
evaluates its format and content based on the accepted format | ||
specified in the data dictionary. | ||
|
||
- xxx xxx xxx | ||
- function `calculate_adequacy()` A tibble object with two columns: the | ||
calculated adequacy (adequacy_calculated) and the adequacy specified | ||
in input (adequacy_input). | ||
|
||
## functions xxx xxx xxx | ||
- function `dataset_cat_as_labels()` | ||
[Function](https://maelstrom-research.github.io/madshapR-documentation/reference/dataset_cat_as_labels.html) | ||
exported from the madshapR package. | ||
|
||
- function `add_diagnosis()` This function takes a dataset and returns a | ||
diagnosis for each observation. For the function to run, the dataset | ||
must not contain any errors that | ||
[banff_launcher()](https://PersonalizedTransplantCare.github.io/banffIT-documentation/reference/banff_launcher.html) | ||
would have detected. Please prefer using `banff_launcher()` to run | ||
additional tests. | ||
|
||
- function `dataset_summarize()` | ||
[Function](https://maelstrom-research.github.io/madshapR-documentation/reference/summarize.html) | ||
exported from the madshapR package. | ||
|
||
## Helper functions | ||
|
||
These functions allows to xxx xxx xxx. | ||
- function `get_banff_dictionary()` This function gets the data | ||
dictionary used to control the consistency of the banff dataset. | ||
|
||
- function `add_diagnosis()` does xxx xxx xxx | ||
- function `banff_dataset_evaluate()` does xxx xxx xxx | ||
- function `banff_dataset_summarize()` does xxx xxx xxx | ||
- function `banff_launcher()` does xxx xxx xxx | ||
- function `calculate_adequacy()` does xxx xxx xxx | ||
- function `dataset_cat_as_labels()` does xxx xxx xxx | ||
- function `get_banff_dictionary()` does xxx xxx xxx | ||
- function `is_banff_dataset()` does xxx xxx xxx | ||
- function `banffIT_website()` does xxx xxx xxx | ||
- function `banffIT_website()` This function sends the user to the | ||
online documentation for the package, which includes a description of | ||
the latest version of the package, vignettes, user guides, and a | ||
reference list of functions and help pages. |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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