Skip to content

Commit

Permalink
Merge pull request #44 from YosefLab/docs
Browse files Browse the repository at this point in the history
Merge docs
  • Loading branch information
deto authored Jan 22, 2019
2 parents 89cf5cf + ccbe728 commit 4ba3326
Show file tree
Hide file tree
Showing 222 changed files with 12,166 additions and 3,771 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
^\.travis\.yml$
^build_whitelist.sh$
^docs/.*$
^.*.eslintrc.json
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r

language: R
language: r
cache: packages

r:
Expand Down
7 changes: 4 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: VISION
Title: Functional interpretation of single cell RNA-seq latent manifolds
Version: 0.99.6
Version: 1.0.0
Authors@R: c(person("Matt", "Jones", email = "[email protected]", role = c("aut", "cre")),
person("David", "Detomaso", email = "[email protected]", role = c("aut", "cre")),
person("Tal", "Ashuach", email = "[email protected]", role = c("aut")),
Expand All @@ -17,6 +17,7 @@ Imports:
loe,
logging,
parallel,
pbmcapply (>= 1.3.1),
Matrix,
matrixStats,
mclust,
Expand All @@ -32,16 +33,16 @@ LinkingTo: Rcpp
License: MIT + file LICENSE
Encoding: UTF-8
LazyData: true
URL: https://yoseflab.github.io/VISION, https://github.com/yoseflab/VISION
BugReports: https://github.com/YosefLab/VISION/issues
RoxygenNote: 6.1.1
Suggests:
Biobase,
BiocStyle,
knitr,
rmarkdown,
SummarizedExperiment,
testthat,
ggplot2,
ggplot2
biocViews:
GeneExpression,
RNASeq,
Expand Down
17 changes: 17 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,25 @@

export(Vision)
export(applyMicroClustering)
export(convertGeneIds)
export(createGeneSignature)
export(poolMatrixCols)
export(poolMatrixRows)
export(poolMetaData)
export(read_10x)
export(read_10x_h5)
exportMethods(Vision)
exportMethods(addProjection)
exportMethods(analyze)
exportMethods(getLatentSpace)
exportMethods(getLatentTrajectory)
exportMethods(getMetaAutocorrelation)
exportMethods(getMetaDifferential)
exportMethods(getProjections)
exportMethods(getSelections)
exportMethods(getSignatureAutocorrelation)
exportMethods(getSignatureDifferential)
exportMethods(getSignatureScores)
exportMethods(saveAndViewResults)
exportMethods(viewResults)
import(Matrix)
Expand All @@ -15,6 +30,7 @@ import(loe)
import(logging)
import(methods)
import(stats)
importFrom(Matrix,readMM)
importFrom(Matrix,rowMeans)
importFrom(Matrix,rowSums)
importFrom(Matrix,sparseMatrix)
Expand Down Expand Up @@ -48,6 +64,7 @@ importFrom(matrixStats,rowSds)
importFrom(mclust,Mclust)
importFrom(mclust,mclustBIC)
importFrom(parallel,mclapply)
importFrom(pbmcapply,pbmclapply)
importFrom(rsvd,rsvd)
importFrom(stats,chisq.test)
importFrom(stats,kmeans)
Expand Down
23 changes: 0 additions & 23 deletions NEWS

This file was deleted.

7 changes: 6 additions & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# VISION 1.0.0

Initial release of VISION
* Added Layout Options to the output report
* Selected cells can now be saved/loaded
* Addition of "get*"-style accessor methods to the VISION object
* Added an interface to Seurat objects
* Added convenience methods for working with outputs from 10x Genomic's CellRanger
* **Note**: Some changes were made to the Vision object structure and how results are stored. If updating to 1.0.0, older Vision objects may need to be re-created and re-run before using `viewResults`
22 changes: 6 additions & 16 deletions R/AllClasses.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# on the different types of data.

setClassUnion('numericORNULL', members=c('numeric', 'NULL'))
setClassUnion('matrixORSparse', members=c("matrix", "dgCMatrix", "dgTMatrix"))
setClassUnion('matrixORSparse', members=c("matrix", "dgeMatrix", "dgCMatrix", "dgTMatrix"))

Cluster <- setClass("Cluster",
slots = c(
Expand All @@ -19,10 +19,10 @@ Cluster <- setClass("Cluster",

ProjectionData <- setClass("ProjectionData",
slots = c(
sigProjMatrix = "matrix",
pMatrix = "matrix",
sigClusters = "list",
emp_pMatrix = "matrix"
Consistency = "matrix",
pValue = "matrix",
FDR = "matrix",
sigClusters = "list"
))

PCAnnotatorData <- setClass("PCAnnotatorData",
Expand Down Expand Up @@ -83,13 +83,10 @@ Vision <- setClass("Vision",
sig_norm_method = "character",
sig_score_method = "character",
exprData = "matrixORSparse",
initialExprData = "matrixORSparse",
unnormalizedData = "matrixORSparse",
initialUnnormalizedData = "matrixORSparse",
housekeepingData = "character",
sigData = "list",
metaData = "data.frame",
initialMetaData = "data.frame",
perm_wPCA = "logical",
pool = "logical",
sigScores = "matrix",
Expand All @@ -104,10 +101,8 @@ Vision <- setClass("Vision",
pools = "list",
inputProjections = "list",
name = "character",
cluster_variable = "character",
latentSpace = "matrix",
latentTrajectory = "Trajectory",
initialLatentSpace = "matrix",
version = "numeric",
selections = "list"),
prototype = list(
Expand All @@ -116,13 +111,10 @@ Vision <- setClass("Vision",
threshold = 0,
sig_norm_method = "znorm_rows",
exprData = matrix(NA, 1, 1),
initialExprData = matrix(NA, 1, 1),
unnormalizedData = matrix(NA, 1, 1),
initialUnnormalizedData = matrix(NA, 1, 1),
housekeepingData = character(),
sigData = list(),
metaData = data.frame(),
initialMetaData = data.frame(),
perm_wPCA = FALSE,
pool = FALSE,
sigScores = matrix(NA, 1, 1),
Expand All @@ -137,10 +129,8 @@ Vision <- setClass("Vision",
pools = list(),
inputProjections = list(),
name = "",
cluster_variable = "",
latentSpace = matrix(NA, 1, 1),
latentTrajectory = NULL,
initialLatentSpace = matrix(NA, 1, 1),
version = 1.0,
version = 1.1,
selections = list()
))
32 changes: 32 additions & 0 deletions R/AllGenerics.R
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,35 @@ setGeneric("getSelections", function(object, ...) {
setGeneric("computeKNNWeights", function(object, ...) {
standardGeneric("computeKNNWeights")
})

setGeneric("getProjections", function(object, ...) {
standardGeneric("getProjections")
})

setGeneric("getLatentSpace", function(object, ...) {
standardGeneric("getLatentSpace")
})

setGeneric("getLatentTrajectory", function(object, ...) {
standardGeneric("getLatentTrajectory")
})

setGeneric("getSignatureScores", function(object, ...) {
standardGeneric("getSignatureScores")
})

setGeneric("getSignatureAutocorrelation", function(object, ...) {
standardGeneric("getSignatureAutocorrelation")
})

setGeneric("getSignatureDifferential", function(object, ...) {
standardGeneric("getSignatureDifferential")
})

setGeneric("getMetaAutocorrelation", function(object, ...) {
standardGeneric("getMetaAutocorrelation")
})

setGeneric("getMetaDifferential", function(object, ...) {
standardGeneric("getMetaDifferential")
})
Loading

0 comments on commit 4ba3326

Please sign in to comment.