Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
c4cbf89
updated travis displays
muschellij2 Oct 12, 2017
13f00c9
trying travis_helpers
muschellij2 Oct 12, 2017
06a68be
Stupid parentheses.
muschellij2 Oct 12, 2017
b70513e
trying to remove tcltk install
muschellij2 Oct 12, 2017
e37850d
fixing xcode image
muschellij2 Oct 12, 2017
ed04fe5
Fixing sublime problems.
muschellij2 Oct 19, 2017
fbf69c8
Fixing some checks for the code.
muschellij2 Oct 19, 2017
fa820db
Adding to gitignore.
muschellij2 Oct 19, 2017
be28da7
Fixing sublime_model
muschellij2 Oct 19, 2017
19e5b3a
Fixing the naming.
muschellij2 Oct 19, 2017
13b56a0
sublime_model
muschellij2 Oct 19, 2017
717f5b8
Fixing examples.
muschellij2 Oct 19, 2017
b94031b
Fixing readme.
muschellij2 Oct 19, 2017
1d93939
adding the nopd model
muschellij2 Jan 18, 2018
6e77df5
Fixing up that readme.
muschellij2 Jan 18, 2018
7386ea3
Version bump.
muschellij2 Jan 19, 2018
882326e
Trying to allow for sublime_prediction to have PD.
muschellij2 Jan 25, 2018
6e22ffb
Fixing some of the examples now working with no PD.
muschellij2 Jan 25, 2018
52d3db7
version bump for submit_package_release
muschellij2 Oct 22, 2019
0d5b07c
fixing travsi for xvfb
muschellij2 Oct 22, 2019
369c649
updated appveyor
muschellij2 Oct 24, 2019
2a119a7
run w/o python
muschellij2 Oct 24, 2019
ed08525
aded appveyor and tests
muschellij2 Feb 22, 2020
dc2274d
trying the predictions
muschellij2 Feb 22, 2020
37cd83d
trying more tests
muschellij2 Feb 23, 2020
0e3ec66
added nii fro tests
muschellij2 Feb 23, 2020
6e4ca45
trying rounding
muschellij2 Feb 23, 2020
1c68fa5
trying testing
muschellij2 Feb 23, 2020
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
5 changes: 5 additions & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,8 @@
^\.Rproj\.user$
README\.md
^\.travis\.yml$
data/.Rapp.history
^refit_sublime\.R$
^README\.Rmd$
sublime_train_data\.rda$
^appveyor\.yml$
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.Rproj.user
.Rhistory
.RData
*.nii.gz
*.nii.gz
data/.Rapp.history
25 changes: 15 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,27 @@
# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r

language: R
sudo: false
cache: packages
r_check_args: --as-cran

services:
- xvfb

before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3
- fname=travis_helpers.sh
- wget -O ${fname} http://bit.ly/travis_helpers
- cat ${fname}; source ${fname}; rm ${fname}
- codename=`linux_codename`;
- if [ "${codename}" = "trusty" ];
then
start_xvfb ;
fi

os:
- linux
- osx

bioc_required: yes
use_bioc: yes
r:
- release
- devel
addons:
apt:
packages:
- tcl8.5-dev
- tk8.5-dev
13 changes: 9 additions & 4 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ Package: sublime
Type: Package
Title: Automatic Lesion Incidence Estimation and Detection using
Multi-Modality Longitudinal Magnetic Resonance Images
Version: 1.3
Date: 2016-09-29
Version: 1.6.3
Date: 2019-10-22
Authors@R: c(person(given = "Elizabeth M.", "Sweeney",
email = "elizabethmargaretsweeney@gmail.com", role = c("aut", "cre")),
person(given = "John", "Muschelli",
Expand All @@ -16,11 +16,16 @@ Description: Creates probability maps of incident and enlarging lesion voxels
License: GPL
LazyData: true
Depends:
oro.nifti
oro.nifti,
R (>= 2.10)
Imports:
downloader,
graphics,
stats,
grDevices,
AnalyzeFMRI
RoxygenNote: 5.0.1.9000
RoxygenNote: 7.0.2
Encoding: UTF-8
Suggests:
testthat (>= 2.1.0),
neurobase
3 changes: 2 additions & 1 deletion NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
export(SuBLIME_prediction)
export(download_data)
export(normalize)
export(sublime_prediction)
export(voxel_select)
import(downloader)
import(oro.nifti)
importFrom(AnalyzeFMRI,GaussSmoothArray)
importFrom(downloader,download)
importFrom(grDevices,dev.off)
importFrom(grDevices,gray)
importFrom(grDevices,pdf)
Expand Down
29 changes: 25 additions & 4 deletions R/SuBLIME_model.R
Original file line number Diff line number Diff line change
@@ -1,9 +1,30 @@
#' @title Sublime Predictive model
#' @title SuBLIME Predictive model
#'
#' @description Predictive model for SuBLIME algorithm
#' @usage SuBLIME_model
#' @format An \code{lm} object, but with data an other things, notably
#' @usage sublime_model
#' @format An \code{glm} object, but with data an other things, notably
#' qr removed
#' @references Sweeney, E. M., et al. "Automatic lesion incidence estimation and detection in multiple sclerosis using multisequence longitudinal MRI." American Journal of Neuroradiology 34.1 (2013): 68-73.
"SuBLIME_model"
"sublime_model"


#' @title SuBLIME Predictive model without PD
#'
#' @description Predictive model for SuBLIME algorithm without PD modality
#' NOTE: this may perform much worse than the original SuBLIME model
#'
#' @usage nopd_sublime_model
#' @format An \code{glm} object, but with data an other things, notably
#' qr removed
"nopd_sublime_model"


#' @title SuBLIME Predictive model with only T1 and FLAIR
#'
#' @description Predictive model for SuBLIME algorithm with only T1 and FLAIR.
#' NOTE: this may perform much worse than the original SuBLIME model
#' @usage flairt1_sublime_model
#' @format An \code{glm} object, but with data an other things, notably
#' qr removed
"flairt1_sublime_model"

Loading