Description Usage Arguments Value Examples
This function creates a sample test dataset for the ClusterExons function. At the moment it the same number of exons per each gene. Expression is sampled from a random binomial distribution.
1 | genTestdata(nGenes, nExons, nSamples)
|
nGenes |
An integer, specifies the number of genes in the dataset. |
nExons |
An integer, specifies the number of exons in each gene. |
nSamples |
An integer, specifies the number of samples in the dataset. |
A data.frame with nGenes*nExons rows and 2+nSamples columns. The first 2 columns contain gene and exon ID. Further columns contain log2 transformed expression scores.
1 2 3 4 | # Create a dataset with 10 genes composed by 3 exons, measured across 5 samples
genTestdata(10,3,5)
@export
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.