Skip to content

Commit 925429d

Browse files
author
ncullen93
committed
ENH: update readme; add NEWS
1 parent faca753 commit 925429d

File tree

2 files changed

+130
-200
lines changed

2 files changed

+130
-200
lines changed

NEWS

+78
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
2+
# Release notes
3+
4+
5+
## 0.4.0
6+
7+
* ENH: better compilation and release style.
8+
* ENH: return boolean same size as image
9+
* ENH: improved decomposition methods
10+
* ENH: easier to use antsrSurf and antsrVol
11+
12+
## 0.3.3
13+
14+
* ENH: spare distance matrix, multi scale svd
15+
16+
## 0.3.2
17+
18+
* ENH: added domainImg option to plot.antsImage which can standardize plot.
19+
20+
* COMP: test for DVCL define requirement to improve clang and gcc compilations
21+
22+
* WIP: transform objects can be created on the fly and manipulated thanks to jeff duda
23+
24+
* ENH: automation for eigenanatomy
25+
26+
* ENH: reworked SCCAN and eanat
27+
28+
* ENH: mrvnrfs
29+
30+
* ENH: resting state Vignette
31+
32+
* DOC: clarify/extend antsApplyTransforms
33+
34+
* ENH: multidimensional images
35+
36+
* STYLE: iMath not ImageMath in ANTsR
37+
38+
## 0.3.1
39+
40+
* WIP: iMath improvements
41+
42+
* WIP: ASL pipeline fuctionality
43+
44+
* BUG: Fixed image indexing bug
45+
46+
* BUG: plot.antsImage improvements
47+
48+
* ENH: more antsRegistration options
49+
50+
* ENH: geoSeg
51+
52+
* ENH: JointLabelFusion and JointIntensityFusion
53+
54+
* ENH: Enable negating images
55+
56+
* ENH: weingarten curvature
57+
58+
* ENH: antsApplyTransformsToPoints with example
59+
60+
* ENH: renormalizeProbabilityImages
61+
62+
* ENH: Suppress output from imageWrite.
63+
64+
## 0.3.0
65+
66+
First official release.
67+
68+
69+
70+
# Tagging a beta release
71+
72+
```
73+
git tag -d beta
74+
git push origin :refs/tags/beta
75+
git tag beta
76+
git push --tags origin
77+
```
78+

README.md

+52-200
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,80 @@
1-
[ANTsR Instagram](https://www.instagram.com/antsrx/)
1+
22

33
<!--
44
![ants brain](http://i.imgur.com/I2VNWpA.png)
55
![ants edie](http://i.imgur.com/DcV1NVT.png)
66
![ants babe](http://i.imgur.com/gwoxI5M.png)
77
-->
8-
# ANTsR
9-
10-
[DOI 10.17605/osf.io/bsq5v](https://osf.io/bsq5v/)
8+
# Advanced Normalization Tools in R
119

1210
![Downloads](https://img.shields.io/github/downloads/antsx/antsr/total)
1311
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/stnava/ANTsRDocker/master)
1412
[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg)](code_of_conduct.md)
1513

14+
<br />
15+
16+
ANTsR is an R package which wraps the well-established C++ biomedical image processing library <i>[ANTs](https://github.com/ANTsX/ANTs)</i>. It includes efficient reading and writing of medical images, algorithms for registration, segmentation, and statistical learning, as well as functions to create publication-ready visualizations.
17+
18+
If you are looking to train deep learning models on your medical images in R, you might be interested in [ANTsRNet](https://github.com/ANTsX/ANTsPy) which provides pre-trained models and utilities for training deep learning models on medical images.
19+
20+
<br />
21+
22+
## Installation
23+
24+
Currently, the only way to install ANTsR is from the pre-compiled binaries or from source. We are actively working on getting ANTsR onto CRAN / Bioconductor / etc.
25+
26+
### Binaries
27+
28+
The fastest way to install ANTsR is from pre-compile binaries. Download the relevant version and run this from the command-line:
29+
30+
```
31+
R CMD INSTALL ANTsR_*.tgz
32+
```
33+
34+
### From source using devtools
1635

17-
<!-- commenting out because we moved to antsx
18-
[![Coverage Status](https://coveralls.io/repos/stnava/ANTsR/badge.svg)](https://coveralls.io/r/stnava/ANTsR)
19-
[![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/github/stnava/ANTsR?branch=master&svg=true)](https://ci.appveyor.com/project/stnava/ANTsR) -->
36+
To install ANTsR from source, you can use devtools to install the latest version of the code directly form GitHub:
2037

21-
A package providing [ANTs](https://github.com/ANTsX/ANTs) features in R as well as imaging-specific data representations, spatially regularized dimensionality reduction and segmentation tools. See also the **Neuroconductor** [site](https://www.neuroconductor.org/package/details/ANTsR).
38+
```R
39+
devtools::install_github('ANTsX/ANTsR')
40+
```
41+
42+
### From source using R CMD INSTALL
2243

23-
## Description
44+
Alternatively, you can clone and install ANTsR and its two main dependencies (ANTsRCore, ITKR) and then install them as you would traditional R source packages.
2445

25-
License: Apache License 2.0
46+
First, clone the repositories:
47+
48+
```sh
49+
$ git clone https://github.com/stnava/ITKR.git
50+
$ git clone https://github.com/ANTsX/ANTsRCore.git
51+
$ git clone https://github.com/ANTsX/ANTsR.git
52+
```
2653

27-
Maintainer: [Brian B. Avants](http://stnava.github.io/)
54+
Install the package as follows:
2855

29-
URL: [homepage](https://antsx.github.io/ANTsR/)
56+
```sh
57+
$ R CMD INSTALL ITKR
58+
$ R CMD INSTALL ANTsRCore
59+
$ R CMD INSTALL ANTsR
60+
```
3061

31-
BugReports: [github issues](https://github.com/ANTsX/ANTsR/issues)
62+
## Developer notes
3263

33-
NeedsCompilation: yes
64+
### Maintainer
3465

35-
Travis checks: [ANTsR results](https://travis-ci.org/ANTsX/ANTsR)
66+
[Brian B. Avants](http://stnava.github.io/)
3667

37-
Documentation: [https://antsx.github.io/ANTsR/](https://antsx.github.io/ANTsR/).
68+
### License
3869

39-
## Preview ANTsR on the cloud
70+
Apache License 2.0
4071

41-
Try the binder link above.
4272

43-
Note: as of this writing, memory is very limited on this cloud preview so some examples may not run successfully.
73+
## Relevant links
4474

45-
## Downloads
75+
[ANTsR Instagram](https://www.instagram.com/antsrx/)
76+
77+
[DOI 10.17605/osf.io/bsq5v](https://osf.io/bsq5v/)
4678

4779
Reference manual: [ANTsR](https://antsx.github.io/ANTsR/reference/index.html)
4880

@@ -58,11 +90,6 @@ Binaries: [here](https://github.com/ANTsX/ANTsR/releases/)
5890

5991
**Suggested packages** [https://github.com/stnava/ANTsRDocker/blob/master/install.R](https://github.com/stnava/ANTsRDocker/blob/master/install.R)
6092

61-
Install the binary, after downloading, via command line:
62-
63-
```
64-
R CMD INSTALL ANTsR_*.tgz
65-
```
6693

6794
## Research using ANTsR
6895

@@ -101,178 +128,3 @@ architectures ported to the R language.
101128
* DenseNet (2-D, 3-D)
102129
* Object detection
103130
* Single Shot MultiBox Detector (2-D, 3-D)
104-
105-
## Installation from source
106-
107-
Please read this entire section before choosing which method you prefer.
108-
109-
In general, these **assume** you have [git](http://git-scm.com/) installed / accessible in your environment, as well as a compiler, preferably `clang`. you may also need [cmake](http://www.cmake.org) if you do/can not install `cmaker`.
110-
111-
Windows users should see [Rtools](http://cran.r-project.org/bin/windows/Rtools/) and maybe, also, [installr](https://github.com/talgalili/installr) for assistance in setting up their environment for building (must have a compiler too). To my knowledge, there are no recorded instances of ANTsR being installed on Windows. If someone does so, we would like to know.
112-
113-
You will need to install R packages that ANTsR requires. Minimally:
114-
**Install ITKR and ANTsRCore** [here](https://github.com/stnava/ITKR/releases) and [here](https://github.com/ANTsX/ANTsRCore/releases) then do:
115-
```
116-
mydeps <- c( "Rcpp", "RcppEigen", "magrittr", "rsvd", "magic", "psych" )
117-
install.packages( pkgs = mydeps, dependencies = TRUE )
118-
```
119-
You can gain additional functionality by installing packages that
120-
are listed in the [`DESCRIPTION` file](https://github.com/ANTsX/ANTsR/blob/master/DESCRIPTION) under `Suggests`.
121-
A complete list of recommended ancillary packages [here](https://github.com/ANTsX/ANTsR/wiki/ANTsR-Dependencies-for-(close-to)-full-functionality).
122-
123-
**Method 1: with devtools in R**
124-
```
125-
library( devtools )
126-
# install_github("stnava/cmaker") # if you do not have cmake
127-
install_github("stnava/ANTsR")
128-
```
129-
130-
**Method 2: from command line (most traditional method)**
131-
132-
Assumes git, cmake and compilers are available in your environment (as above).
133-
134-
First, clone the repository:
135-
```sh
136-
$ git clone https://github.com/stnava/ITKR.git
137-
$ git clone https://github.com/ANTsX/ANTsRCore.git
138-
$ git clone https://github.com/ANTsX/ANTsR.git
139-
```
140-
141-
Install the package as follows:
142-
```sh
143-
$ R CMD INSTALL ITKR
144-
$ R CMD INSTALL ANTsRCore
145-
$ R CMD INSTALL ANTsR
146-
```
147-
148-
The [`travis.yml` file](https://github.com/ANTsX/ANTsR/blob/master/.travis.yml) also shows a way to install from Linux command line.
149-
150-
151-
**Method 3: from binaries**
152-
153-
Note that version numbers will change over time.
154-
155-
```
156-
wget https://github.com/stnava/ITKR/releases/download/latest/ITKR_0.4.12_R_x86_64-pc-linux-gnu.tar.gz
157-
R CMD INSTALL ITKR_0.4.12_R_x86_64-pc-linux-gnu.tar.gz
158-
wget https://github.com/ANTsX/ANTsRCore/releases/download/v0.4.2.1/ANTsRCore_0.4.2.1_R_x86_64-pc-linux-gnu.tar.gz
159-
R CMD INSTALL ANTsRCore_0.4.2.1_R_x86_64-pc-linux-gnu.tar.gz
160-
wget https://github.com/ANTsX/ANTsR/releases/download/latest/ANTsR_0.6_R_x86_64-pc-linux-gnu.tar.gz
161-
R CMD INSTALL ANTsR_0.6_R_x86_64-pc-linux-gnu.tar.gz
162-
```
163-
164-
165-
**Method 4: platform independent via docker and kitematic**
166-
167-
This is a beta operation that is in flux but may be convenient for some users.
168-
169-
* based on [this approach](https://github.com/rocker-org/rocker/wiki/Using-the-RStudio-image)
170-
171-
* create a docker username
172-
173-
* download and install kitematic
174-
175-
* login to kitematic with your docker username
176-
177-
* search for `antsr` in the kitematic repository search bar
178-
179-
* create a new container from the `stnava` version of `antsr`
180-
181-
* start the container
182-
183-
* type the "access url" address into a browser to run rstudio with antsr.
184-
it should be something like `http://192.168.99.100:32989/`
185-
186-
* you can also add your home folders to the container instance by adjusting
187-
the "volumes" option under the settings tab. then you can access local data.
188-
189-
## Usage
190-
Load the package:
191-
```
192-
library(ANTsR)
193-
```
194-
List the available functions in the namespace ANTsR:
195-
```
196-
ANTsR::<double-tab>
197-
```
198-
199-
Call help on a function via ?functionName or see function arguments
200-
via `args(functionName)`
201-
202-
203-
# Tagging a beta release
204-
205-
```
206-
git tag -d beta
207-
git push origin :refs/tags/beta
208-
git tag beta
209-
git push --tags origin
210-
```
211-
212-
213-
# Release notes
214-
215-
More like *development highlights*, as opposed to *release notes*. See `git log` for the complete history. We try to follow [these versioning recommendations for R packages](http://yihui.name/en/2013/06/r-package-versioning/). Under these guidelines, only `major.minor` is an official release.
216-
217-
## 0.4.0
218-
219-
* ENH: better compilation and release style.
220-
* ENH: return boolean same size as image
221-
* ENH: improved decomposition methods
222-
* ENH: easier to use antsrSurf and antsrVol
223-
224-
## 0.3.3
225-
226-
* ENH: spare distance matrix, multi scale svd
227-
228-
## 0.3.2
229-
230-
* ENH: added domainImg option to plot.antsImage which can standardize plot.
231-
232-
* COMP: test for DVCL define requirement to improve clang and gcc compilations
233-
234-
* WIP: transform objects can be created on the fly and manipulated thanks to jeff duda
235-
236-
* ENH: automation for eigenanatomy
237-
238-
* ENH: reworked SCCAN and eanat
239-
240-
* ENH: mrvnrfs
241-
242-
* ENH: resting state Vignette
243-
244-
* DOC: clarify/extend antsApplyTransforms
245-
246-
* ENH: multidimensional images
247-
248-
* STYLE: iMath not ImageMath in ANTsR
249-
250-
## 0.3.1
251-
252-
* WIP: iMath improvements
253-
254-
* WIP: ASL pipeline fuctionality
255-
256-
* BUG: Fixed image indexing bug
257-
258-
* BUG: plot.antsImage improvements
259-
260-
* ENH: more antsRegistration options
261-
262-
* ENH: geoSeg
263-
264-
* ENH: JointLabelFusion and JointIntensityFusion
265-
266-
* ENH: Enable negating images
267-
268-
* ENH: weingarten curvature
269-
270-
* ENH: antsApplyTransformsToPoints with example
271-
272-
* ENH: renormalizeProbabilityImages
273-
274-
* ENH: Suppress output from imageWrite.
275-
276-
## 0.3.0
277-
278-
First official release.

0 commit comments

Comments
 (0)