-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathNAMESPACE
More file actions
139 lines (111 loc) · 3.03 KB
/
NAMESPACE
File metadata and controls
139 lines (111 loc) · 3.03 KB
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
useDynLib(XVector)
import(methods)
importFrom(utils, relist, download.file)
importFrom(stats, setNames)
importFrom(tools, file_path_as_absolute)
import(BiocGenerics)
import(S4Vectors)
import(IRanges)
### - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
### Export S4 classes
###
exportClasses(
SharedVector, SharedVector_Pool,
SharedRaw, SharedRaw_Pool,
SharedInteger, SharedDouble,
XVector, XRaw, XInteger, XDouble,
GroupedIRanges, XVectorList, XRawList,
XIntegerViews,
RdaCollection,
RdsCollection
)
### - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
### Export S3 methods
###
S3method(duplicated, XRawList)
### 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(
duplicated.XRawList
)
### - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
### Export S4 methods for generics not defined in XVector
###
exportMethods(
## Methods for generics defined in the base package:
length,
names, "names<-",
"[", "[<-", "[[", "[[<-",
rev,
as.vector, as.integer, as.numeric, as.raw, as.data.frame,
toString,
c,
"==", "!=", "<=",
duplicated, match,
order, rank, is.unsorted,
## Methods for generics defined in the methods package:
show, coerce,
## Methods for generics defined in the utils package:
relist,
## Methods for generics defined in the BiocGenerics package:
updateObject,
width,
path,
## Methods for generics defined in the S4Vectors package:
showAsCell,
bindROWS,
extractROWS, getListElement,
parallel_slot_names,
pcompare,
elementNROWS,
relistToClass,
## Methods for generics defined in the IRanges package:
Views,
viewApply,
viewMins, viewMaxs, viewSums, viewMeans,
viewWhichMins, viewWhichMaxs,
extractList,
windows,
reverse,
slice
)
### - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
### Export non-generic functions
###
export(
open_input_files,
SharedVector.compare,
SharedVector.copy,
SharedRaw,
SharedRaw.readInts, SharedRaw.writeInts,
SharedRaw.read, SharedRaw.write,
SharedRaw.readComplexes,
#SharedInteger, SharedInteger.read, SharedInteger.write,
#SharedDouble, SharedDouble.read, SharedDouble.write,
XRaw, XInteger, XDouble, XNumeric,
XVectorList,
unsplit_list_of_XVectorList,
RdaCollection,
RdsCollection
)
### - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
### Export S4 generics defined in XVector + export corresponding methods
###
export(
## XVector-class.R:
subseq, "subseq<-",
## RdaCollection-class.R:
rdaPath,
## compact-methods.R:
xvcopy, compact,
## reverse-methods.R:
reverse
)
### Exactly the same list as above.
exportMethods(
subseq, "subseq<-",
rdaPath,
xvcopy, compact,
reverse
)