|
a |
|
b/README.Rmd |
|
|
1 |
--- |
|
|
2 |
output: github_document |
|
|
3 |
--- |
|
|
4 |
|
|
|
5 |
<!-- README.md is generated from README.Rmd. Please edit that file --> |
|
|
6 |
|
|
|
7 |
```{r setup, include = FALSE} |
|
|
8 |
knitr::opts_chunk$set( |
|
|
9 |
collapse = TRUE, |
|
|
10 |
comment = "", |
|
|
11 |
fig.path = "man/figures/README-" |
|
|
12 |
) |
|
|
13 |
``` |
|
|
14 |
|
|
|
15 |
# ichseg <img src="man/figures/logo.png" align="right" height="139" /> |
|
|
16 |
|
|
|
17 |
<!-- badges: start --> |
|
|
18 |
[](https://travis-ci.com/muschellij2/ichseg) |
|
|
19 |
[](https://ci.appveyor.com/project/muschellij2/ichseg) |
|
|
20 |
<!-- badges: end --> |
|
|
21 |
|
|
|
22 |
The goal of `ichseg` is to perform preprocessing on computed tomography (CT) scans, including skull stripping. Computes predictors of intracerebral hemorrhage (ICH) and uses these to predict a binary hemorrhage mask from the data. |
|
|
23 |
|
|
|
24 |
## Citing |
|
|
25 |
|
|
|
26 |
To cite `ichseg`, you can run: |
|
|
27 |
|
|
|
28 |
```{r} |
|
|
29 |
citation("ichseg") |
|
|
30 |
``` |
|
|
31 |
|
|
|
32 |
## Installation |
|
|
33 |
|
|
|
34 |
You can install `ichseg` from github with: |
|
|
35 |
|
|
|
36 |
```{r gh-installation, eval = FALSE} |
|
|
37 |
# install.packages("devtools") |
|
|
38 |
devtools::install_github("muschellij2/ichseg") |
|
|
39 |
``` |
|
|
40 |
|
|
|
41 |
|
|
|
42 |
## Requirements |
|
|
43 |
|
|
|
44 |
These functions require a working installation of FSL (https://fsl.fmrib.ox.ac.uk/fsl/fslwiki/FslInstallation), which can be installed via Neurodebian as well: http://neuro.debian.net/pkgs/fsl-complete.html. |
|
|
45 |
|
|
|
46 |
## Prediction |
|
|
47 |
|
|
|
48 |
In order to segment ICH from an image, use the `ich_segment` function: |
|
|
49 |
|
|
|
50 |
```{r, eval = FALSE} |
|
|
51 |
ichseg::ich_segment(img = "/path/to/ct/scan") |
|
|
52 |
``` |
|
|
53 |
|