Skip to content

Commit

Permalink
merge with devel
Browse files Browse the repository at this point in the history
  • Loading branch information
c.determan committed Jan 10, 2017
2 parents 04a6a8f + defc948 commit f9a0f3d
Show file tree
Hide file tree
Showing 56 changed files with 979 additions and 409 deletions.
4 changes: 4 additions & 0 deletions .Rbuildignore
@@ -1,2 +1,6 @@
^.*\.Rproj$
^\.Rproj\.user$
^\.travis.yml
appveyor.yml
^\.git\*
^\.gitignore
18 changes: 12 additions & 6 deletions DESCRIPTION
@@ -1,8 +1,8 @@
Package: OmicsMarkeR
Title: Classification and Feature Selection for 'Omics' Datasets
Description: Tools for classification and feature selection for 'omics' level
datasets. It is a tool to provide multiple multivariate classification
and feature selection techniques complete with multiple stability metrics
datasets. It is a tool to provide multiple multivariate classification
and feature selection techniques complete with multiple stability metrics
and aggregation techniques. It is primarily designed for analysis of
metabolomics datasets but potentially extendable to proteomics and
transcriptomics applications.
Expand All @@ -11,9 +11,12 @@ Version: 1.7.1
Author: Charles E. Determan Jr. <cdetermanjr@gmail.com>
Maintainer: Charles E. Determan Jr. <cdetermanjr@gmail.com>
VignetteBuilder: knitr
Depends:
Depends:
R (>= 3.2.0)
Imports:
Imports:
graphics,
stats,
utils,
plyr (>= 1.8),
data.table (>= 1.9.4),
caret (>= 6.0-37),
Expand All @@ -36,5 +39,8 @@ BugReports: http://github.com/cdeterman/OmicsMarkeR/issues/new
biocViews: Metabolomics, Classification, FeatureExtraction
Packaged: 2015-07-27 08:27:19 UTC
Repository: Bioconductor
Suggests: testthat, BiocStyle, knitr

Suggests:
testthat,
BiocStyle,
knitr
RoxygenNote: 5.0.1
5 changes: 4 additions & 1 deletion NAMESPACE
@@ -1,4 +1,4 @@
# Generated by roxygen2 (4.1.1): do not edit by hand
# Generated by roxygen2: do not edit by hand

export(RPT)
export(aggregation)
Expand Down Expand Up @@ -36,9 +36,12 @@ import(e1071)
import(foreach)
import(gbm)
import(glmnet)
import(graphics)
import(pamr)
import(plyr)
import(randomForest)
import(stats)
import(utils)
importFrom(caret,best)
importFrom(caret,confusionMatrix)
importFrom(caret,createDataPartition)
Expand Down
3 changes: 3 additions & 0 deletions R/aggregation.R
Expand Up @@ -2,6 +2,9 @@
### Aggregation Methods ###
###########################


#' @import utils

## Notation
# s = selected number of top ranking features
# r = feature rank
Expand Down
1 change: 1 addition & 0 deletions R/data.generation.R
Expand Up @@ -2,6 +2,7 @@
### Simulated Metabolomics Data ###
###################################

#' @import stats
plus_minus <- function(beta){
inv <-rbinom(beta,1,0.5)
inv <-ifelse(inv==0,-1,1)
Expand Down
3 changes: 2 additions & 1 deletion R/perm.class.R
@@ -1,5 +1,6 @@
# Performance Permutation

#' @import graphics
# declare global variables (i.e. the foreach iterators)
globalVariables(c('p', 'fold'))

Expand Down Expand Up @@ -210,7 +211,7 @@ perm.class <-
{
#stop("prediction results failed")
stop(paste("prediction results failed on",
method, outIndex, sep = " "))
method, " fold: ", fold, sep = " "))
}

# what should it do if createModel fails???
Expand Down
2 changes: 2 additions & 0 deletions R/stability.R
Expand Up @@ -289,6 +289,8 @@ kuncheva <- function(x,
#' approach.
#' @param features A matrix of selected features
#' @param stability.metric string indicating the type of stability metric.
#' @param nc Optional argument to be used with 'kuncheva' stability. Refers
#' to the number of variables in original data.
#' Available options are \code{"jaccard"} (Jaccard Index/Tanimoto Distance),
#' \code{"sorensen"} (Dice-Sorensen's Index), \code{"ochiai"} (Ochiai's Index),
#' \code{"pof"} (Percent of Overlapping Features), \code{"kuncheva"}
Expand Down
Binary file modified inst/doc/OmicsMarkeR.pdf
Binary file not shown.
10 changes: 5 additions & 5 deletions man/CLA.Rd

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

12 changes: 6 additions & 6 deletions man/EE.Rd

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

8 changes: 4 additions & 4 deletions man/EM.Rd

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

8 changes: 4 additions & 4 deletions man/ES.Rd

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

6 changes: 3 additions & 3 deletions man/RPT.Rd

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

14 changes: 7 additions & 7 deletions man/aggregation.Rd

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

28 changes: 14 additions & 14 deletions man/bagging.wrapper.Rd

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

12 changes: 6 additions & 6 deletions man/canberra.Rd

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

0 comments on commit f9a0f3d

Please sign in to comment.