SampleSize-class {SSPA} | R Documentation |
Class SampleSize
Description
By contructing an object of SampleSize
the power and sample size analysis will be performed.
Objects from the Class
Objects can be created by calling the function sampleSize
.
Slots
pi0
:- proportion of non-differentially expressed genes,
"named-list"
lambda
:- vector containing the estimated density of effect sizes,
"numeric"
theta
:- vector containing the range over which the density of effect sizes is estimated,
"numeric"
adjust
:- is the density of effect sizes adjusted (
adjust=TRUE
) or not (adjust=FALSE
), "logical"
method
:- method used for the estimation of the density of effect sizes,
"character"
bandwidth
:- Default bandwidth given by log_{10}(n)^{-frac{1}{2}} where n is the number of genes.
kernel
:- kernel used for the deconvolution estimator,
"character"
nKnots
:- number of knots used for the B-splines (only visible if
method="Ruppert"
)
bDegree
:- B-spline degree(only visible if
method="Ruppert"
)
name
:- name of the pilot data, type
"character"
testStatistics
:- vector of test statistics, type
"numeric"
sampleSize
:- effective sample size (frac{1}{n_A}+frac{1}{n_B})^{-1} with n_A the sample size in group A, type
"numeric"
pValues
:- vector of p-values, type
"numeric"
dof
:- degrees of freedom only used for Student t distribution, type
"numeric"
nullDist
:- null distribution either normal or Student t, type
"character"
Extends
Class PilotData
, directly.
Methods
show,SampleSize-method
, Power
and plotEffectSize
Author(s)
Maarten van Iterson
See Also
pilotData
,
PilotData
[Package
SSPA version 1.0.0
Index]