Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
JEFworks committed Oct 8, 2015
1 parent 1b24335 commit d054b7c
Show file tree
Hide file tree
Showing 34 changed files with 59 additions and 41 deletions.
2 changes: 0 additions & 2 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# Generated by roxygen2 (4.1.0): do not edit by hand

export(bwpca)
export(knn.error.models)
export(make.pagoda.app)
Expand Down
2 changes: 1 addition & 1 deletion man/ViewPagodaApp-class.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/functions.R
\docType{class}
\name{ViewPagodaApp-class}
Expand Down
2 changes: 1 addition & 1 deletion man/bwpca.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/functions.R
\name{bwpca}
\alias{bwpca}
Expand Down
2 changes: 1 addition & 1 deletion man/es.mef.small.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/functions.R
\docType{data}
\name{es.mef.small}
Expand Down
2 changes: 1 addition & 1 deletion man/knn.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/functions.R
\docType{data}
\name{knn}
Expand Down
2 changes: 1 addition & 1 deletion man/knn.error.models.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/functions.R
\name{knn.error.models}
\alias{knn.error.models}
Expand Down
2 changes: 1 addition & 1 deletion man/make.pagoda.app.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/functions.R
\name{make.pagoda.app}
\alias{make.pagoda.app}
Expand Down
2 changes: 1 addition & 1 deletion man/o.ifm.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/functions.R
\docType{data}
\name{o.ifm}
Expand Down
8 changes: 4 additions & 4 deletions man/pagoda.cluster.cells.Rd
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/functions.R
\name{pagoda.cluster.cells}
\alias{pagoda.cluster.cells}
\title{Determine optimal cell clustering based on the genes driving the significant aspects}
\usage{
pagoda.cluster.cells(tam, varinfo, method = "ward", include.aspects = FALSE,
verbose = 0, return.details = FALSE)
pagoda.cluster.cells(tam, varinfo, method = "ward.D",
include.aspects = FALSE, verbose = 0, return.details = FALSE)
}
\arguments{
\item{tam}{result of pagoda.top.aspects() call}

\item{varinfo}{result of pagoda.varnorm() call}

\item{method}{clustering method ('ward' by default)}
\item{method}{clustering method ('ward.D' by default)}

\item{include.aspects}{whether the aspect patterns themselves should be included alongside with the individual genes in calculating cell distance}

Expand Down
2 changes: 1 addition & 1 deletion man/pagoda.effective.cells.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/functions.R
\name{pagoda.effective.cells}
\alias{pagoda.effective.cells}
Expand Down
4 changes: 2 additions & 2 deletions man/pagoda.gene.clusters.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/functions.R
\name{pagoda.gene.clusters}
\alias{pagoda.gene.clusters}
Expand All @@ -8,7 +8,7 @@ pagoda.gene.clusters(varinfo, trim = 3.1/ncol(varinfo$mat),
n.clusters = 150, n.samples = 60, cor.method = "p",
n.internal.shuffles = 0, n.starts = 10, n.cores = detectCores(),
verbose = 0, plot = FALSE, show.random = FALSE, n.components = 1,
method = "ward", secondary.correlation = FALSE,
method = "ward.D", secondary.correlation = FALSE,
n.cells = ncol(varinfo$mat), old.results = NULL)
}
\arguments{
Expand Down
2 changes: 1 addition & 1 deletion man/pagoda.pathway.wPCA.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/functions.R
\name{pagoda.pathway.wPCA}
\alias{pagoda.pathway.wPCA}
Expand Down
2 changes: 1 addition & 1 deletion man/pagoda.reduce.loading.redundancy.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/functions.R
\name{pagoda.reduce.loading.redundancy}
\alias{pagoda.reduce.loading.redundancy}
Expand Down
2 changes: 1 addition & 1 deletion man/pagoda.reduce.redundancy.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/functions.R
\name{pagoda.reduce.redundancy}
\alias{pagoda.reduce.redundancy}
Expand Down
2 changes: 1 addition & 1 deletion man/pagoda.show.pathways.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/functions.R
\name{pagoda.show.pathways}
\alias{pagoda.show.pathways}
Expand Down
2 changes: 1 addition & 1 deletion man/pagoda.subtract.aspect.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/functions.R
\name{pagoda.subtract.aspect}
\alias{pagoda.subtract.aspect}
Expand Down
2 changes: 1 addition & 1 deletion man/pagoda.top.aspects.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/functions.R
\name{pagoda.top.aspects}
\alias{pagoda.top.aspects}
Expand Down
2 changes: 1 addition & 1 deletion man/pagoda.varnorm.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/functions.R
\name{pagoda.varnorm}
\alias{pagoda.varnorm}
Expand Down
2 changes: 1 addition & 1 deletion man/pagoda.view.aspects.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/functions.R
\name{pagoda.view.aspects}
\alias{pagoda.view.aspects}
Expand Down
17 changes: 17 additions & 0 deletions man/papply.Rd
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/functions.R
\name{papply}
\alias{papply}
\title{wrapper around different mclapply mechanisms}
\usage{
papply(..., n.cores = n)
}
\arguments{
\item{...}{parameters to pass to lapply, mclapply, bplapply, etc.}

\item{n.cores}{number of cores. If 1 core is requested, will default to lapply}
}
\description{
Abstracts out mclapply implementation, and defaults to lapply when only one core is requested (helps with debugging)
}

2 changes: 1 addition & 1 deletion man/pollen.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/functions.R
\docType{data}
\name{pollen}
Expand Down
2 changes: 1 addition & 1 deletion man/scde.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/functions.R
\docType{package}
\name{scde}
Expand Down
2 changes: 1 addition & 1 deletion man/scde.browse.diffexp.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/functions.R
\name{scde.browse.diffexp}
\alias{scde.browse.diffexp}
Expand Down
11 changes: 7 additions & 4 deletions man/scde.error.models.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/functions.R
\name{scde.error.models}
\alias{scde.error.models}
Expand All @@ -9,7 +9,7 @@ scde.error.models(counts, groups = NULL, min.nonfailed = 3,
zero.count.threshold = min.count.threshold, zero.lambda = 0.1,
save.crossfit.plots = FALSE, save.model.plots = TRUE, n.cores = 12,
min.size.entries = 2000, max.pairs = 5000, min.pairs.per.cell = 10,
verbose = 0, linear.fit = TRUE, local.theta.fit = TRUE,
verbose = 0, linear.fit = TRUE, local.theta.fit = linear.fit,
theta.fit.range = c(0.01, 100))
}
\arguments{
Expand Down Expand Up @@ -41,9 +41,9 @@ scde.error.models(counts, groups = NULL, min.nonfailed = 3,

\item{verbose}{1 for increased output}

\item{linear.fit}{Boolean of whether to use a linear fit in the regression (default: TRUE)}
\item{linear.fit}{Boolean of whether to use a linear fit in the regression (default: TRUE).}

\item{local.theta.fit}{Boolean of whether to fit the overdispersion parameter theta, ie. the negative binomial size parameter, based on local regression (default: TRUE)}
\item{local.theta.fit}{Boolean of whether to fit the overdispersion parameter theta, ie. the negative binomial size parameter, based on local regression (default: set to be equal to the linear.fit parameter)}

\item{theta.fit.range}{Range of valid values for the overdispersion parameter theta, ie. the negative binomial size parameter (default: c(1e-2, 1e2))}
}
Expand All @@ -53,6 +53,9 @@ a model matrix, with rows corresponding to different cells, and columns represen
\description{
Fit error models given a set of single-cell data (counts) and an optional grouping factor (groups). The cells (within each group) are first cross-compared to determine a subset of genes showing consistent expression. The set of genes is then used to fit a mixture model (Poisson-NB mixture, with expression-dependent concomitant).
}
\details{
Note: the default implementation has been changed to use linear-scale fit with expression-dependent NB size (overdispersion) fit. This represents an interative improvement on the originally published model. Use linear.fit=F to revert back to the original fitting procedure.
}
\examples{
\donttest{
data(es.mef.small)
Expand Down
2 changes: 1 addition & 1 deletion man/scde.expression.difference.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/functions.R
\name{scde.expression.difference}
\alias{scde.expression.difference}
Expand Down
2 changes: 1 addition & 1 deletion man/scde.expression.magnitude.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/functions.R
\name{scde.expression.magnitude}
\alias{scde.expression.magnitude}
Expand Down
2 changes: 1 addition & 1 deletion man/scde.expression.prior.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/functions.R
\name{scde.expression.prior}
\alias{scde.expression.prior}
Expand Down
2 changes: 1 addition & 1 deletion man/scde.failure.probability.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/functions.R
\name{scde.failure.probability}
\alias{scde.failure.probability}
Expand Down
2 changes: 1 addition & 1 deletion man/scde.fit.models.to.reference.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/functions.R
\name{scde.fit.models.to.reference}
\alias{scde.fit.models.to.reference}
Expand Down
2 changes: 1 addition & 1 deletion man/scde.posteriors.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/functions.R
\name{scde.posteriors}
\alias{scde.posteriors}
Expand Down
2 changes: 1 addition & 1 deletion man/scde.test.gene.expression.difference.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/functions.R
\name{scde.test.gene.expression.difference}
\alias{scde.test.gene.expression.difference}
Expand Down
2 changes: 1 addition & 1 deletion man/show.app.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/functions.R
\name{show.app}
\alias{show.app}
Expand Down
2 changes: 1 addition & 1 deletion man/view.aspects.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/functions.R
\name{view.aspects}
\alias{view.aspects}
Expand Down
2 changes: 1 addition & 1 deletion man/winsorize.matrix.Rd
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
% Generated by roxygen2 (4.1.0): do not edit by hand
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/functions.R
\name{winsorize.matrix}
\alias{winsorize.matrix}
Expand Down

0 comments on commit d054b7c

Please sign in to comment.