Description Usage Arguments Details Author(s) Examples
Create a vector of random reference alleles
1 2 3 4 |
x |
|
... |
internal arguments |
source |
'alleleCounts' |
Randomly shuffles which of the two alleles for each genotype that is indicated as reference allele, based on either allele count information or previous ref and alt alleles.
When the source is 'alleleCounts', the two most expressed alleles are taken as reference and alternative allele.
Jesper R. Gadin, Lasse Folkersen
1 2 3 4 5 | #load example data
data(ASEset.sim)
a <- ASEset.sim
ref(a) <- randomRef(a, source = 'alleleCounts')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.