Description Usage Arguments Details Methods (by generic) Slots Examples
Details about Phenotypes class.
1 2 3 4 5 |
object |
Phenotypes-class object |
seed |
an integer for |
Class holding information about the samples
show: Show method for a Phenotype object
simulate: Selects which samples are going to be outliers given
the value of the proportionOutlying slot.
nnumber of samples
proportionOutlyingproportion of outlying or erroneusly assigned samples. It is not uncommong that in large-scale experiments up to ~5% samples appear as outliers.
originalPhenotypescharacter vector with original or intended phenotype (group) assignment
simulatedPhenotypescharacter vector with phenotype assigments after pretending that some of the samples are actually outliers
sampleNamescharacter vector with sample names
meanFoldChangenumeric value controlling the applitude of average fold
of change between the conditions. Used as sdlog in
rlnorm function.
pipettingAccuracya parameter for generating sample systematic biases
sampleBiasesnormalization scaling factors
simulatedlogical indicated if the object has been simulated
1 2 3 4 5 6 7 8 | # 10 samples (5 controls + 5 cases)
# Note, the number of outlying samples is somewhat extreme - 50%.
# This is for demonstration purpose only.
ph <- Phenotypes(original=c('Ctrl', 'Ctrl', 'Ctrl', 'Ctrl', 'Ctrl',
'Case', 'Case', 'Case', 'Case', 'Case'),
proportionOutlying=0.5)
ph <- simulate(ph, seed=123)
show(ph)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.