Skip to contents

Returns a SpatialMap object with projectMetadata added

Usage

addProjectMetadata(object, metadata, col.names = NULL, overwrite = T)

Arguments

object

A SpatialMap object

metadata

The metadata to add. A data.frame, vector, or list. If passing a data.frame with row names, or a named vector or list, these names will be used for indexing when adding the metadata.

col.names

New column names (if not already a data.frame)

overwrite

Whether to overwrite existing columns in case of a column name match

Details

Convenience function to explicitly add projectMetadata to a SpatialMap object

Scroll to top