-
Notifications
You must be signed in to change notification settings - Fork 0
/
cellh.m
112 lines (85 loc) · 2.5 KB
/
cellh.m
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
classdef cellh < builtinHandleClass & handle
%cellh - cell array passed by reference
methods
function obj = cellh(data)
try
assert(iscell(data))
catch
error('Argin must be cell')
end
obj@builtinHandleClass(data)
end
end
%% Overload builtin methods
methods
function out = aa2nt(obj, varargin)
out = aa2nt(obj.data, varargin{:});
end
function out = accumarray(obj, varargin)
out = accumarray(obj.data, varargin{:});
end
function out = cell2struct(obj, varargin)
out = cell2struct(obj.data, varargin{:});
end
function out = cellismemberlegacy(obj, varargin)
out = cellismemberlegacy(obj.data, varargin{:});
end
function out = ctranspose(obj, varargin)
out = ctranspose(obj.data, varargin{:});
end
function out = dna2rna(obj, varargin)
out = dna2rna(obj.data, varargin{:});
end
function out = intersect(obj, varargin)
out = intersect(obj.data, varargin{:});
end
function out = ismember(obj, varargin)
out = ismember(obj.data, varargin{:});
end
function out = issorted(obj, varargin)
out = issorted(obj.data, varargin{:});
end
function out = nt2aa(obj, varargin)
out = nt2aa(obj.data, varargin{:});
end
function out = nwalign(obj, varargin)
out = nwalign(obj.data, varargin{:});
end
function out = permute(obj, varargin)
out = permute(obj.data, varargin{:});
end
function out = reshape(obj, varargin)
out = reshape(obj.data, varargin{:});
end
function out = rna2dna(obj, varargin)
out = rna2dna(obj.data, varargin{:});
end
function out = seq2regexp(obj, varargin)
out = seq2regexp(obj.data, varargin{:});
end
function out = setdiff(obj, varargin)
out = setdiff(obj.data, varargin{:});
end
function out = setxor(obj, varargin)
out = setxor(obj.data, varargin{:});
end
function out = sort(obj, varargin)
out = sort(obj.data, varargin{:});
end
function out = strcat(obj, varargin)
out = strcat(obj.data, varargin{:});
end
function out = strmatch(obj, varargin)
out = strmatch(obj.data, varargin{:});
end
function out = transpose(obj, varargin)
out = transpose(obj.data, varargin{:});
end
function out = union(obj, varargin)
out = union(obj.data, varargin{:});
end
function out = unique(obj, varargin)
out = unique(obj.data, varargin{:});
end
end
end