read_topn | R Documentation |
read_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.
read_topn(zipfiles, n = 1, ...)
find_topn(zipfiles, n = 1, decreasing = TRUE)
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 |
decreasing |
Whether to sort the skeletons in decreasing order i.e.
largest first (default= |
Note that this will read all the fragment skeletons for each segment
read_segments
## Not run:
top3=read_topn("224270.zip", n=3)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.