Description Usage Arguments Value Author(s) Examples
Calculate delta relative expression (RED) and statistics significance between two sample groups.
1 2 | APAdiff(sampleTable,mutiraw, conKET='NT',
trtKEY='KD',PAS='3UTR',CUTreads=0,p_adjust_methods="fdr")
|
sampleTable |
a dataframe of sample table containing 8 colmuns for Intronic PASs: 'samplename','condition' |
mutiraw |
a dataframe output obtained using either PASEXP_3UTR or PASEXP_IPA |
conKET |
the name of control in the sampletable, default is 'NT' |
trtKEY |
the name of control in the sampletable, default is 'KD' |
PAS |
type of PAS analyzed, either '3UTR' or 'IPA', default is '3UTR' |
CUTreads |
reads cutoff used for the analysis, default is 0 |
p_adjust_methods |
p value correction method, the method can be "holm", "hochberg", "hommel", "bonferroni", "BH", "BY","fdr", "none", default is "fdr" |
The function APAdiff
return a dataframe containning RED, pvalue and
regulation pattern (UP, DN or NC) for
either each gene (3'UTR APA) or each PAS (IPA).
Ruijia Wang
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | library("TBX20BamSubset")
library("Rsamtools")
flsall = getBamFileList()
extpath = system.file("extdata",
"mm9_TBX20.APAout.RData", package="APAlyzer")
load(extpath)
sampleTable1 = data.frame(samplename = c(names(flsall)),
condition = c(rep("NT",3),rep("KD",3)))
sampleTable2 = data.frame(samplename = c("SRR316184","SRR316187"),
condition = c("NT","KD"))
## Analysis 3'UTR APA between KD and NT group using muti-replicates
test_3UTRmuti=APAdiff(sampleTable1,DFUTRraw,
conKET='NT',trtKEY='KD',PAS='3UTR',CUTreads=0,p_adjust_methods="fdr")
## Analysis 3'UTR APA between KD and NT group without replicates
test_3UTRsing=APAdiff(sampleTable2,DFUTRraw,
conKET='NT',trtKEY='KD',PAS='3UTR',CUTreads=0,p_adjust_methods="fdr")
## Analysis IPA between KD and NT group
test_IPAmuti=APAdiff(sampleTable1,IPA_OUTraw,
conKET='NT',trtKEY='KD',PAS='IPA',CUTreads=0,p_adjust_methods="fdr")
## Analysis IPA between KD and NT group without replicates
test_IPAsing=APAdiff(sampleTable2,IPA_OUTraw,
conKET='NT',trtKEY='KD',PAS='IPA',CUTreads=0,p_adjust_methods="fdr")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.