diffPatternTestExon | R Documentation |
An alternative version of diffPatternTest
for exon level binning. Both
data binning and differential pattern analysis are implemented. Instead of a
fixed width or adaptive method, the positions of exons in the genome are
used as bins. Therefore the number of exons per gene and their relative
sizes determines the bins used for differential pattern testing.
diffPatternTestExon(psitemap, classlabel, method = c("gtxr", "qvalue"))
psitemap |
A list object from value of |
classlabel |
For matrix input: a DataFrame or data.frame with at least a column
|
method |
For a 2-component character vector input: the first argument is the
multiplicity correction method for exon-level p-value adjustment. The
second argument is the multiplicity correction method for gene-level
p-value adjustment. Methods include: "qvalue" for q-value from
|
For mammalian species, when the reads are sparse, it’s more meaningful
to perform a exon level pattern analysis. diffPatternTestExon
() provides
the option of exon level pattern differentiation analysis by treating
each exon as one bin. But for organisms such as yeast, as most genes
only contain one exon, the exon-level analysis is not meaningful
since the analysis will simply result in the RNA-seq type of analysis,
i.e. differential abundance test instead of the pattern analysis.
Using diffPatternTestExon
() on yeast data is not for organisms with
minimal alternative splicing or multiple exons. For a given gene,
the normalizing constant is estimated at codon level.
bin |
A List object of exon-level results. Each element of list
is of a gene, containing exon results columns: |
gene |
A DataFrame object of gene-level results. It contains
columns: |
small |
Names of genes without sufficient reads |
classlabel |
The same as input |
data |
A list of exon-binned P-site footprint matrices: in each matrix,
rows corrspond to replicates, columns corrspond to exons. All genes
reported in |
method |
The same as input |
diffPatternTest
data(data.psite) classlabel <- data.frame(condition = c("mutant", "mutant", "wildtype", "wildtype"), comparison=c(2, 2, 1, 1)) rownames(classlabel) <- c("mutant1", "mutant2", "wildtype1", "wildtype2") result.exon <- diffPatternTestExon(psitemap = data.psite, classlabel = classlabel, method = c('gtxr', 'qvalue'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.