-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathNAMESPACE
161 lines (139 loc) · 4.56 KB
/
NAMESPACE
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
### Import libraries functions
import(methods)
import(reshape2)
import(Biostrings)
import(IRanges)
import(GenomicRanges)
import(gridExtra)
import(BSgenome)
import(RColorBrewer)
import(ggplot2)
import(VennDiagram)
import(DBI)
import(tximport)
import(tximeta)
import(DEXSeq)
import(satuRn)
import(limma, except=c(plotMA))
### Import compiled code
useDynLib(IsoformSwitchAnalyzeR)
### Import specific functions from other packages
importFrom("grDevices", "dev.off", "hcl", "pdf", "png")
importFrom("graphics", "lines", "plot", "text", "title")
importFrom("stats", "p.adjust", 'qnorm', "wilcox.test")
importFrom("stats", "na.omit", "p.adjust", "setNames", "wilcox.test")
importFrom("stats", "as.formula", "model.matrix")
importFrom("stats", "binom.test")
importFrom('stats', 'fisher.test')
importFrom("utils", "read.table", "setTxtProgressBar", "txtProgressBar", "untar","file_test", "capture.output")
importFrom('GenomeInfoDb','seqlevels','seqlevels<-')
importFrom('XVector','subseq')
importFrom('grid','grid.newpage')
importFrom('grid','pushViewport')
importFrom('grid','viewport')
importFrom('grid','grid.layout')
importFrom('DBI','dbGetQuery','dbDriver')
importFrom("edgeR", "calcNormFactors")
importFrom("futile.logger","flog.threshold")
importFrom('grid', 'plotViewport')
importFrom('grid', 'grid.draw')
importFrom('grid', 'popViewport')
importFrom('limma', 'topTable')
importFrom('BiocGenerics', 'start','end')
importFrom('RCurl','url.exists')
importFrom("sva", "num.sv", 'sva')
importFrom("SummarizedExperiment", "SummarizedExperiment")
importFrom("BiocParallel", "bpparam")
importFrom("S4Vectors", "do.call")
# plyr
importFrom('plyr', 'ddply','ldply','llply','dlply')
# tidyverse
importFrom("dplyr","left_join")
importFrom("dplyr","select")
importFrom("dplyr","group_by")
importFrom("dplyr","summarise_all")
importFrom("dplyr","filter")
importFrom("dplyr","summarise")
importFrom("dplyr", "n", "n_distinct", "as_tibble", "mutate", "any_of", "distinct", "case_when")
importFrom("tibble", "rownames_to_column")
importFrom("stringr","str_c", "str_split", "str_replace_na", "str_remove")
importFrom("magrittr","%>%")
importFrom('readr', 'read_tsv', 'read_csv', 'fwf_empty','read_fwf','cols_only','col_character','col_integer','col_double', 'cols')
importFrom("tibble","tibble")
importFrom("tidyr","pivot_longer")
# Other
importFrom("pfamAnalyzeR", "augment_pfam")
importFrom("pfamAnalyzeR", "analyse_pfam_isotypes")
### Export functions from IsoformSwitchAnalyzeR
# Creating list
export('subsetSwitchAnalyzeRlist')
# Import data
export('importCufflinksFiles')
export('importGTF')
export('importPairedGSEA')
export('importIsoformExpression')
export('importRdata')
export('prepareSalmonFileDataFrame')
export('importSalmonData')
export('preFilter')
# Test isoform switches
export('isoformSwitchTestDEXSeq')
export('isoformSwitchTestSatuRn')
export('extractSwitchSummary')
export('extractSwitchOverlap')
export('extractTopSwitches')
# Sequence analysis
#export('CDSSet')
export('extractSequence')
export('analyzeORF')
export('addORFfromGTF')
export('analyzeNovelIsoformORF')
# incooperation of external preditions
export('analyzeCPAT')
export('analyzeCPC2')
export('analyzePFAM')
export('analyzeSignalP')
export('analyzeNetSurfP3')
export('analyzeIUPred2A')
export('analyzeDeepLoc2')
export('analyzeDeepTMHMM')
# Splicing analysis
export('analyzeAlternativeSplicing')
export('analyzeIntronRetention')
export('extractSplicingSummary')
export('extractSplicingEnrichment')
export('extractSplicingEnrichmentComparison')
export('extractSplicingGenomeWide')
# Switch consequences analysis
export('analyzeSwitchConsequences')
export('extractConsequenceSummary')
export('extractConsequenceEnrichment')
export('extractConsequenceEnrichmentComparison')
export('extractConsequenceGenomeWide')
export('extractGenomeWideAnalysis') # for backward compatability
export('extractSubCellShifts')
# Plotting
export('switchPlotTranscript')
export('switchPlotGeneExp')
export('switchPlotIsoExp')
export('switchPlotIsoUsage')
export('switchPlot')
export('switchPlotTopSwitches')
# High level function
export('isoformSwitchAnalysisPart1')
export('isoformSwitchAnalysisPart2')
export('isoformSwitchAnalysisCombined')
# other tools
export('extractGeneExpression')
export('isoformToGeneExp')
export('isoformToIsoformFraction')
### Export classes
exportClasses("switchAnalyzeRlist")
### Overload generic functions to work with my classes
S3method(dim,switchAnalyzeRlist)
S3method(nrow,switchAnalyzeRlist)
S3method(ncol,switchAnalyzeRlist)
S3method(head,switchAnalyzeRlist)
S3method(tail,switchAnalyzeRlist)
S3method(show,switchAnalyzeRlist)
S3method(summary,switchAnalyzeRlist)