Description Usage Arguments Value Examples
View source: R/class-OutriderDataSet.R
Creates an example data set from a file or simulates a data set based on random counts following a negative binomial distribution with injected outliers with a fixed z score away from the mean of the gene.
1 2 3 4 5 6 7 8 9 10 |
n |
Number of simulated genes |
m |
Number of simulated samples |
q |
number of simulated latend variables. |
freq |
Frequency of in-silico outliers |
zScore |
Absolute z score of in-silico outliers (default 6). |
inj |
Determines whether counts are injected with the strategy ('both', 'low', 'high'), default is 'both'. |
sf |
Artificial Size Factors |
dataset |
If "none", the default, an example data set is simulated. One can also use example data set included in the package by specifying 'GTExSkinSmall' or 'KremerNBaderSmall' |
An OutriderDataSet containing an example dataset. Depending on the parameters it is based on a real data set or it is simulated
1 2 3 4 5 6 7 8 9 10 11 | # A generic dataset
ods1 <- makeExampleOutriderDataSet()
ods1
# A generic dataset with specificed sample size and injection method
ods2 <- makeExampleOutriderDataSet(n=200, m=50, inj='low')
ods2
# A subset of a real world dataset from GTEx
ods3 <- makeExampleOutriderDataSet(dataset="GTExSkinSmall")
ods3
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.