Description Usage Arguments Value Author(s) Examples
This function creates a permuted read counts matrix based
on the contrast
argument (to define new virtual
contrasts of the same number) and on the
sample.list
to derive the number of samples for
each virtual condition.It is a helper for the
meta.perm
function.
1 2 | make.permutation(counts, sample.list, contrast,
repl = FALSE)
|
counts |
the gene read counts matrix. |
sample.list |
the list containing condition names and the samples under each condition. |
contrast |
the contrasts vector. See the main
|
repl |
the same as the replace argument in
|
A list with three members: the matrix of permuted per
sample read counts, the virtual sample list and the
virtual contrast to be used with the stat.*
functions.
Panagiotis Moulos
1 2 3 | data("mm9.gene.data",package="metaseqR")
per <- make.permutation(mm9.gene.counts,sample.list.mm9,
"e14.5_vs_adult_8_weeks")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.