read_context {gggenomes} | R Documentation |
Read files in different contexts
Description
Powers read_seqs()
, read_feats()
, read_links()
Usage
read_context(
files,
context,
.id = "file_id",
format = NULL,
parser = NULL,
...
)
Arguments
files |
files to reads. Should all be of same format. In many cases,
compressed files ( |
context |
the context ("seqs", "feats", "links") in which a given format should be read. |
.id |
the column with the name of the file a record was read from. Defaults to "file_id". Set to "bin_id" if every file represents a different bin. |
format |
specify a format known to gggenomes, such as |
parser |
specify the name of an R function to overwrite automatic
determination based on format, e.g. |
... |
additional arguments passed on to the format-specific read function called down the line. |
Value
a tibble with the combined data from all files
Functions
-
read_context()
: bla keywords internal