- url
of the json file to download from immunemap; this should be the url to the
video metadata without the "/tracks" suffix. With this method, the metadata will
be used to automatically scale time to seconds and coordinates to microns if
scale.auto=TRUE
.
- tracks.url
optional: alternatively, provide directly the url of the tracks (ending with "/tracks"),
or an url of a local json file with tracks. With this method, scales must be set
manually. If not specified, it is assumed that adding the suffix "/tracks" to the
supplied url
will provide the track data.
- keep.id
logical: keep track ids from immunemap? If false, new unique ids are
generated. Defaults to TRUE
. If there are no ids in the input json, a warning
will be returned; this can be suppressed by setting keep.id = FALSE
.
- scale.auto
logical: if TRUE
(the default), scales will be set automatically using
the metadata found in url
. This works only if the url
is given, not
if only tracks.url
is supplied.
- scale.t
optional: multiply timepoints with constant factor to rescale time.
By default, immunemap returns time in # frames.
- scale.pos
optional: multiply coordinates with constant factor to rescale lengths.
By default, immunemap measures coordinates in pixels.
- warn.scaling
logical: if scale.t
and scale.pos
are not set,
warn the user that units are pixels and #frames instead of microns and min/sec.
Defaults to TRUE
.
- simplify.2D
logical: if TRUE
(default), automatically project to 2D when the
z-coordinate has only one value.
- warn.celltypes
logical: if TRUE
(default), warn when the user is either
trying to return a single tracks object while the metadata indicates there are
multiple celltypes in the data, or when the user is trying to set split.celltypes = TRUE
when there is only one celltype present.
- split.celltypes
logical: if TRUE
(default = FALSE
), return not one
tracks object but a list of tracks objects for each celltype in the data (as
determined from the metadata in the immunemap json).
- ...
additional parameters to be passed to get.immap.metadata
.
- input
the output of parse.immap.json
serves as input for get.immap.tracks