-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathNAMESPACE
170 lines (128 loc) · 3.53 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
import(methods)
importFrom(utils, data, download.file, read.delim, read.table, read.csv,
write.table, as.roman)
importFrom(stats, setNames, update)
importFrom(stats4, summary)
import(BiocGenerics)
import(S4Vectors)
import(IRanges) # for CompressedList
import(UCSC.utils)
import(GenomeInfoDbData)
### - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
### Export S4 classes
###
exportClasses(
Seqinfo,
GenomeDescription
)
### - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
### Export S3 methods
###
S3method(as.data.frame, Seqinfo)
S3method(merge, Seqinfo)
S3method(summary, Seqinfo)
S3method(update, Seqinfo)
### We also export them thru the export() directive so that (a) they can be
### called directly, (b) tab-completion on the name of the generic shows them,
### and (c) methods() doesn't asterisk them.
export(
as.data.frame.Seqinfo,
merge.Seqinfo,
summary.Seqinfo,
update.Seqinfo
)
### - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
### Export S4 methods for generics NOT defined in this package
###
exportMethods(
length,
names, "names<-",
"[",
as.data.frame,
show,
merge,
## Generics defined in the stats package:
update,
## Generics defined in the stats4 package:
summary,
## Generics defined in the BiocGenerics package:
intersect, organism, species
)
### - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
### Export non-generic functions
###
export(
## utils.R:
DEFAULT_CIRC_SEQS,
## list_ftp_dir.R:
list_ftp_dir,
## rankSeqlevels.R:
orderSeqlevels,
rankSeqlevels,
## NCBI-utils.R:
find_NCBI_assembly_ftp_dir,
fetch_assembly_report,
## getChromInfoFromNCBI.R:
registered_NCBI_assemblies,
getChromInfoFromNCBI,
## getChromInfoFromUCSC.R:
registered_UCSC_genomes,
getChromInfoFromUCSC,
get_and_fix_chrom_info_from_UCSC,
saveAssembledMoleculesInfoFromUCSC,
## getChromInfoFromEnsembl.R:
getChromInfoFromEnsembl,
## loadTaxonomyDb.R:
loadTaxonomyDb,
## mapGenomeBuilds.R
mapGenomeBuilds,
genomeBuilds,
listOrganisms,
## Seqinfo-class.R:
Seqinfo, checkCompatibleSeqinfo,
## seqlevelsStyle.R:
genomeStyles,
extractSeqlevels,
extractSeqlevelsByGroup,
mapSeqlevels,
seqlevelsInGroup,
## seqlevels-wrappers.R:
keepSeqlevels, dropSeqlevels, renameSeqlevels, restoreSeqlevels,
standardChromosomes, keepStandardChromosomes,
## GenomeDescription-classR:
GenomeDescription
)
### - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
### Export S4 generics defined in GenomeInfoDb + export corresponding methods
###
export(
## seqinfo.R:
seqinfo, "seqinfo<-",
seqnames, "seqnames<-",
seqlevels, "seqlevels<-",
sortSeqlevels,
seqlevelsInUse,
seqlevels0,
seqlengths, "seqlengths<-",
isCircular, "isCircular<-",
genome, "genome<-",
## seqlevelsStyle.R:
seqlevelsStyle, "seqlevelsStyle<-",
## GenomeDescription-class.R:
commonName, provider, providerVersion,
releaseDate, bsgenomeName
)
### Exactly the same list as above.
exportMethods(
seqinfo,
seqnames, "seqnames<-",
seqlevels, "seqlevels<-",
sortSeqlevels,
seqlevelsInUse,
seqlengths, "seqlengths<-",
isCircular, "isCircular<-",
genome, "genome<-",
seqlevelsStyle, "seqlevelsStyle<-",
commonName, provider, providerVersion,
releaseDate, bsgenomeName
)