Find and read the largest n segments from one or more skeleton zip files
Source:R/skeleton-io.R
read_topn.Rdread_topn calls find_topn to find the top fragments and then
reads them in using read_segments2.
find_topn finds the files, returning a tibble
(data.frame) of results.
Arguments
- zipfiles
The path, name, or number of the zipfiles. If this is not a full path then it will be searched for in the location defined by options('fafbseg.skelziproot')
- n
Number of segments to read
- ...
additional arguments passed to
read_segments2- decreasing
Whether to sort the skeletons in decreasing order i.e. largest first (default=
TRUE)