Description Usage Arguments Examples
Sample genes from reference dataset
1 2 | sample_reference_data(reference_data, p, percent_ZI = NULL,
threshold_ZI = 0.2)
|
reference_data |
The reference data.frame to use. |
p |
The number of genes (columns) to sample |
percent_ZI |
The percentage of genes to be zero inflated. If NULL, the genes are sampled at random; in this case, the empirical distribution of gene expression profiles will determine the probablility that a sampled gene is zero inflated. |
threshold_ZI |
The minimum proportion of zero counts for a gene to be considered as zero inflated. |
1 2 3 | data(reference)
rnaseq <- reference$rnaseq
rnaseq_subset <- sample_reference_data(rnaseq, 10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.