@@ -81,6 +81,79 @@ ts_dump_ptr <- function(ts, file, options = 0L) {
8181 invisible (.Call(`_RcppTskit_ts_dump_ptr` , ts , file , options ))
8282}
8383
84+ # ' @describeIn ts_summary_ptr Get the number of provenances in a tree sequence
85+ # ' @export
86+ ts_num_provenances_ptr <- function (ts ) {
87+ .Call(`_RcppTskit_ts_num_provenances_ptr` , ts )
88+ }
89+
90+ # ' @describeIn ts_summary_ptr Get the number of populations in a tree sequence
91+ # ' @export
92+ ts_num_populations_ptr <- function (ts ) {
93+ .Call(`_RcppTskit_ts_num_populations_ptr` , ts )
94+ }
95+
96+ # ' @describeIn ts_summary_ptr Get the number of migrations in a tree sequence
97+ # ' @export
98+ ts_num_migrations_ptr <- function (ts ) {
99+ .Call(`_RcppTskit_ts_num_migrations_ptr` , ts )
100+ }
101+
102+ # ' @describeIn ts_summary_ptr Get the number of individuals in a tree sequence
103+ # ' @export
104+ ts_num_individuals_ptr <- function (ts ) {
105+ .Call(`_RcppTskit_ts_num_individuals_ptr` , ts )
106+ }
107+
108+ # ' @describeIn ts_summary_ptr Get the number of samples (of nodes) in a tree
109+ # ' sequence
110+ # ' @export
111+ ts_num_samples_ptr <- function (ts ) {
112+ .Call(`_RcppTskit_ts_num_samples_ptr` , ts )
113+ }
114+
115+ # ' @describeIn ts_summary_ptr Get the number of nodes in a tree sequence
116+ # ' @export
117+ ts_num_nodes_ptr <- function (ts ) {
118+ .Call(`_RcppTskit_ts_num_nodes_ptr` , ts )
119+ }
120+
121+ # ' @describeIn ts_summary_ptr Get the number of edges in a tree sequence
122+ # ' @export
123+ ts_num_edges_ptr <- function (ts ) {
124+ .Call(`_RcppTskit_ts_num_edges_ptr` , ts )
125+ }
126+
127+ # ' @describeIn ts_summary_ptr Get the number of trees in a tree sequence
128+ # ' @export
129+ ts_num_trees_ptr <- function (ts ) {
130+ .Call(`_RcppTskit_ts_num_trees_ptr` , ts )
131+ }
132+
133+ # ' @describeIn ts_summary_ptr Get the number of sites in a tree sequence
134+ # ' @export
135+ ts_num_sites_ptr <- function (ts ) {
136+ .Call(`_RcppTskit_ts_num_sites_ptr` , ts )
137+ }
138+
139+ # ' @describeIn ts_summary_ptr Get the number of mutations in a tree sequence
140+ # ' @export
141+ ts_num_mutations_ptr <- function (ts ) {
142+ .Call(`_RcppTskit_ts_num_mutations_ptr` , ts )
143+ }
144+
145+ # ' @describeIn ts_summary_ptr Get the sequence length
146+ # ' @export
147+ ts_sequence_length_ptr <- function (ts ) {
148+ .Call(`_RcppTskit_ts_sequence_length_ptr` , ts )
149+ }
150+
151+ # ' @describeIn ts_summary_ptr Get the time units string
152+ # ' @export
153+ ts_time_units_ptr <- function (ts ) {
154+ .Call(`_RcppTskit_ts_time_units_ptr` , ts )
155+ }
156+
84157# ' @name ts_summary_ptr
85158# ' @title Summary of properties and number of records in a tree sequence
86159# ' @param ts tree sequence as a \code{\link{TreeSequence}} object or
@@ -156,79 +229,6 @@ ts_summary_ptr <- function(ts) {
156229 .Call(`_RcppTskit_ts_summary_ptr` , ts )
157230}
158231
159- # ' @describeIn ts_summary_ptr Get the number of provenances in a tree sequence
160- # ' @export
161- ts_num_provenances_ptr <- function (ts ) {
162- .Call(`_RcppTskit_ts_num_provenances_ptr` , ts )
163- }
164-
165- # ' @describeIn ts_summary_ptr Get the number of populations in a tree sequence
166- # ' @export
167- ts_num_populations_ptr <- function (ts ) {
168- .Call(`_RcppTskit_ts_num_populations_ptr` , ts )
169- }
170-
171- # ' @describeIn ts_summary_ptr Get the number of migrations in a tree sequence
172- # ' @export
173- ts_num_migrations_ptr <- function (ts ) {
174- .Call(`_RcppTskit_ts_num_migrations_ptr` , ts )
175- }
176-
177- # ' @describeIn ts_summary_ptr Get the number of individuals in a tree sequence
178- # ' @export
179- ts_num_individuals_ptr <- function (ts ) {
180- .Call(`_RcppTskit_ts_num_individuals_ptr` , ts )
181- }
182-
183- # ' @describeIn ts_summary_ptr Get the number of samples (of nodes) in a tree
184- # ' sequence
185- # ' @export
186- ts_num_samples_ptr <- function (ts ) {
187- .Call(`_RcppTskit_ts_num_samples_ptr` , ts )
188- }
189-
190- # ' @describeIn ts_summary_ptr Get the number of nodes in a tree sequence
191- # ' @export
192- ts_num_nodes_ptr <- function (ts ) {
193- .Call(`_RcppTskit_ts_num_nodes_ptr` , ts )
194- }
195-
196- # ' @describeIn ts_summary_ptr Get the number of edges in a tree sequence
197- # ' @export
198- ts_num_edges_ptr <- function (ts ) {
199- .Call(`_RcppTskit_ts_num_edges_ptr` , ts )
200- }
201-
202- # ' @describeIn ts_summary_ptr Get the number of trees in a tree sequence
203- # ' @export
204- ts_num_trees_ptr <- function (ts ) {
205- .Call(`_RcppTskit_ts_num_trees_ptr` , ts )
206- }
207-
208- # ' @describeIn ts_summary_ptr Get the number of sites in a tree sequence
209- # ' @export
210- ts_num_sites_ptr <- function (ts ) {
211- .Call(`_RcppTskit_ts_num_sites_ptr` , ts )
212- }
213-
214- # ' @describeIn ts_summary_ptr Get the number of mutations in a tree sequence
215- # ' @export
216- ts_num_mutations_ptr <- function (ts ) {
217- .Call(`_RcppTskit_ts_num_mutations_ptr` , ts )
218- }
219-
220- # ' @describeIn ts_summary_ptr Get the sequence length
221- # ' @export
222- ts_sequence_length_ptr <- function (ts ) {
223- .Call(`_RcppTskit_ts_sequence_length_ptr` , ts )
224- }
225-
226- # ' @describeIn ts_summary_ptr Get the time units string
227- # ' @export
228- ts_time_units_ptr <- function (ts ) {
229- .Call(`_RcppTskit_ts_time_units_ptr` , ts )
230- }
231-
232232# ' @name ts_metadata_length
233233# ' @title Get the length of metadata in a tree sequence and its tables
234234# ' @param ts tree sequence as a \code{\link{TreeSequence}} object or
0 commit comments