forked from ge11232002/TFBSTools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
NAMESPACE
193 lines (163 loc) · 4.81 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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
useDynLib(TFBSTools, .registration = TRUE)
### -----------------------------------------------------------------
### Import S4 classes defined in other packages
###
importClassesFrom(S4Vectors, Annotated, Vector, SimpleList, List, DataFrame)
importClassesFrom(Biostrings, DNAStringSet, PairwiseAlignments, XStringViews)
importClassesFrom(GenomicRanges, GRanges, GRangesList)
importClassesFrom(methods, ANY, character, integer, missing)
importClassesFrom(CNEr, Axt)
import(BiocGenerics)
### -----------------------------------------------------------------
### Import S4 methods defined in other packages
###
importMethodsFrom(Biostrings, reverseComplement, matchPWM, maxScore, minScore,
consensusMatrix, PairwiseAlignments, pattern, consensusMatrix)
importMethodsFrom(DBI, dbGetQuery)
importMethodsFrom(RSQLite, dbConnect, dbDisconnect)
importMethodsFrom(XVector, subseq)
importMethodsFrom(GenomicRanges, seqnames, strand, "strand<-",
findOverlaps, reduce)
importMethodsFrom(rtracklayer, import.chain, liftOver)
importMethodsFrom(BSgenome, getSeq)
importMethodsFrom(methods, initialize, show)
importMethodsFrom(S4Vectors, isConstant, elementNROWS, Rle, window, showAsCell)
importMethodsFrom(IRanges, subject, ranges, "ranges<-",
Views, start, end, findOverlaps, width, which, pintersect)
importMethodsFrom(CNEr, querySeqs, targetSeqs, targetRanges, queryRanges)
importMethodsFrom(DirichletMultinomial, fitted)
importMethodsFrom(GenomeInfoDb, seqinfo)
### -----------------------------------------------------------------
### Import ordinary functions, variables in other packages
importFrom(seqLogo, seqLogo, makePWM)
importFrom(Biostrings, unitScale, PWMscoreStartingAt,
DNAStringSet, DNA_BASES, DNA_ALPHABET, readDNAStringSet,
readAAStringSet, writeXStringSet, IUPAC_CODE_MAP,
DNAString)
importFrom(caTools, runmean)
importFrom(GenomicRanges, GRanges, GRangesList)
importFrom(methods, is, new, as, slot)
importFrom(RSQLite, SQLite)
importFrom(IRanges, IRanges)
importFrom(gtools, rdirichlet)
importFrom(BiocParallel, MulticoreParam, bpmapply)
importFrom(DirichletMultinomial, dmn, laplace, mixturewt)
importFrom(TFMPvalue, TFMsc2pv)
importFrom(S4Vectors, DataFrame, queryHits, subjectHits)
importFrom(XML, xmlParse, xmlToList)
importFrom(grid, grid.newpage, plotViewport, dataViewport,
grid.xaxis, grid.polygon, pushViewport, grid.text, popViewport,
unit, gpar)
importFrom(Biobase, rowMax, rowMin)
importFrom("graphics", "par")
importFrom("stats", "runif", "setNames")
importFrom("utils", "write.table")
importFrom(parallel, mclapply)
### -----------------------------------------------------------------
### Export S4 classes defined in TFBSTools
###
exportClasses(PFMatrix, PWMatrix, ICMatrix,
PFMatrixList, PWMatrixList, ICMatrixList,
SiteSet, SiteSetList, SitePairSet, SitePairSetList,
MotifSet
#PairwiseAlignmentTFBS
)
### -----------------------------------------------------------------
### Export non-generic functions
###
export(
## AllClasses.r
PFMatrix, PFMatrixList,
ICMatrix, ICMatrixList,
PWMatrix, PWMatrixList,
MotifSet,
SitePairSetList, SitePairSet,
SiteSet, SiteSetList,
TFFMFirst, TFFMDetail,
## util-methods.r
shannon.entropy,
IUPAC2Matrix,
sampleRanges,
## TFFMseqLogo.R
## Wrappers-methods.R
parseMEMEOutput,
## IO.R
readXMLTFFM
)
### -----------------------------------------------------------------
### Export S4 methods for generics not defined in TFBSTools
###
exportMethods(
## XMatrix-methods.r
length,
ncol,
dim,
reverseComplement,
## XMatrixList-methods.r
showAsCell,
## SiteSet-methods.r
start, end,
## coercion-methods.r
as.matrix, as.data.frame,
# XMatrix-methods.r
colSums,
rowSums,
## Motif-methods.r
consensusMatrix
)
### -----------------------------------------------------------------
### Export S4 generics defined in TFBSTools + export corresponding methods
###
export(
## DB-methods.r
storeMatrix,
getMatrixSet,
getMatrixByID, getMatrixByName,
deleteMatrixHavingID,
initializeJASPARDB,
## JASPAR.R
makeFlatFileDir, readJASPARMatrix,
## AllGenerics.r
ID,
name,
matrixClass,
Matrix,
"Matrix<-",
bg,
tags,
matrixType,
XMatrixList,
#alignments,
# XMatrix-methods.r
#colSums,
# rowSums,
## PWM-methods.r
toPWM,
searchSeq,
searchAln,
searchPairBSgenome,
PWMSimilarity,
## ICM-methods.r
toICM,
seqLogo,
totalIC,
## SiteSet-methods.r
writeGFF3, writeGFF2,
relScore,
views,
pvalues,
toGRangesList,
## PairwiseAlignment-methods.r
calConservation,
#doSiteSearch
## PFM-methods
PFMSimilarity,
permuteMatrix,
## DirichletMixture.r
dmmEM, rPWMDmm,
## Wrappers-methods.r
runMEME,
sitesSeq,
## TFFM.R
getEmissionProb, getPosProb
)