-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathNAMESPACE
146 lines (118 loc) · 3.78 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
import(methods)
importFrom(utils, read.table)
importFrom(stats, setNames)
importFrom(tools, file_path_as_absolute)
importFrom(Matrix, sparseMatrix)
import(BiocGenerics)
import(S4Vectors)
import(IRanges)
import(S4Arrays)
import(SparseArray)
import(DelayedArray)
importFrom(rhdf5, h5createFile, h5createDataset, h5createGroup,
h5read, h5readAttributes, h5write, h5set_extent)
import(h5mread)
### - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
### Export S4 classes
###
exportClasses(
HDF5ArraySeed,
HDF5Array, HDF5Matrix,
ReshapedHDF5ArraySeed,
ReshapedHDF5Array, ReshapedHDF5Matrix,
HDF5RealizationSink,
H5SparseMatrixSeed, CSC_H5SparseMatrixSeed, CSR_H5SparseMatrixSeed,
H5SparseMatrix,
H5ADMatrixSeed,
Dense_H5ADMatrixSeed, CSC_H5ADMatrixSeed, CSR_H5ADMatrixSeed,
H5ADMatrix,
TENxMatrixSeed,
TENxMatrix,
TENxRealizationSink
)
### - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
### Export S3 methods
###
S3method(t, CSC_H5SparseMatrixSeed)
S3method(t, CSR_H5SparseMatrixSeed)
S3method(t, CSC_H5ADMatrixSeed)
S3method(t, CSR_H5ADMatrixSeed)
### 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(
t.CSC_H5SparseMatrixSeed,
t.CSR_H5SparseMatrixSeed,
t.CSC_H5ADMatrixSeed,
t.CSR_H5ADMatrixSeed
)
### - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
### Export S4 methods for generics not defined in HDF5Array
###
exportMethods(
## Methods for generics defined in the base package:
dim, dimnames, t,
## Methods for generics defined in the methods package:
coerce, show,
## Methods for generics defined in the BiocGenerics package:
path, "path<-", type, updateObject,
## Methods for generics defined in the S4Arrays package:
extract_array, is_sparse, "is_sparse<-",
## Methods for generics defined in the SparseArray package:
nzcount, extract_sparse_array,
## Methods for generics defined in the DelayedArray package:
chunkdim, write_block,
matrixClass, DelayedArray,
close
)
### - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
### Export non-generic functions
###
export(
HDF5ArraySeed,
HDF5Array,
ReshapedHDF5ArraySeed,
ReshapedHDF5Array,
setHDF5DumpDir, getHDF5DumpDir,
setHDF5DumpFile, getHDF5DumpFile, lsHDF5DumpFile,
setHDF5DumpName, getHDF5DumpName,
setHDF5DumpChunkLength, getHDF5DumpChunkLength,
setHDF5DumpChunkShape, getHDF5DumpChunkShape,
getHDF5DumpChunkDim,
setHDF5DumpCompressionLevel, getHDF5DumpCompressionLevel,
appendDatasetCreationToHDF5DumpLog, showHDF5DumpLog,
HDF5RealizationSink, writeHDF5Array,
saveHDF5SummarizedExperiment, loadHDF5SummarizedExperiment,
quickResaveHDF5SummarizedExperiment,
H5SparseMatrixSeed,
H5SparseMatrix,
H5ADMatrixSeed,
H5ADMatrix,
TENxMatrixSeed,
TENxMatrix,
TENxRealizationSink, writeTENxMatrix
)
### - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
### Export S4 generics defined in HDF5Array, and corresponding methods
###
export(
## H5SparseMatrixSeed-class.R:
extractNonzeroDataByCol, extractNonzeroDataByRow
)
### Exactly the same list as above.
exportMethods(
extractNonzeroDataByCol, extractNonzeroDataByRow
)
### - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
### Export internal utility functions for developers
###
export(
shorten_assay2h5_links,
restore_absolute_assay2h5_links,
validate_HDF5ArraySeed_dataset_geometry,
write_h5_assays,
create_dir,
replace_dir,
check_and_delete_files,
stop_if_bad_dir
)