diff --git a/NAMESPACE b/NAMESPACE index 4ef7d1f..6c1c2b5 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -20,6 +20,7 @@ export(RNAseqPreprocDS) export(addPhenoDataDS) export(alleleFrequencyDS) export(cellCountsDS) +export(computeN) export(createRSEDS) export(dlaplace) export(edgeRDS) diff --git a/man/computeN.Rd b/man/computeN.Rd new file mode 100644 index 0000000..b604a92 --- /dev/null +++ b/man/computeN.Rd @@ -0,0 +1,20 @@ +% Generated by roxygen2: do not edit by hand +% Please edit documentation in R/computeN.R +\name{computeN} +\alias{computeN} +\title{Compute N} +\usage{ +computeN(gamma) +} +\arguments{ +\item{gamma}{\code{numeric} Value of gamma to compute N} +} +\value{ +A number to be used as N on re-sampling methods. +} +\description{ +Calculates N given gamma. +} +\details{ +Computation is performed following Theorem 15 of Rubinstein, Benjamin IP, and Francesco Aldà. "Pain-free random differential privacy with sensitivity sampling." International Conference on Machine Learning. PMLR, 2017. +}