metadataAccessors: Metadata Accessors

coreMetadataR Documentation

Metadata Accessors

Description

Get and set image metadata.

Usage

coreMetadata(x, series, ...)

globalMetadata(x, series, ...)

seriesMetadata(x, series, ...)

## S4 method for signature 'ANY'
metadata(x)

## S4 method for signature 'AnnotatedImage'
metadata(x)

## S4 method for signature 'AnnotatedImageList'
metadata(x)

## S4 method for signature 'ImageMetadata'
metadata(x)

## S4 method for signature 'ImageMetadataList'
metadata(x)

## S4 replacement method for signature 'AnnotatedImage'
metadata(x) <- value

coreMetadata(y) <- value

## S4 replacement method for signature 'AnnotatedImage'
coreMetadata(y) <- value

## S4 replacement method for signature 'ImageMetadata'
coreMetadata(y) <- value

globalMetadata(y) <- value

## S4 replacement method for signature 'AnnotatedImage'
globalMetadata(y) <- value

## S4 replacement method for signature 'ImageMetadata'
globalMetadata(y) <- value

seriesMetadata(y) <- value

## S4 replacement method for signature 'AnnotatedImage'
seriesMetadata(y) <- value

## S4 replacement method for signature 'ImageMetadata'
seriesMetadata(y) <- value

Arguments

x

an AnnotatedImage, AnnotatedImageList, ImageMetadata, or ImageMetadataList object

series

series ID

...

arguments passed to grep

value

depending on the context, an ImageMetadata object or a list

y

an AnnotatedImage or ImageMetadata object

Details

The ... arguments are passed to grep called on metadata names allowing for convenient subsetting.

Value

Named list consisting of key value pairs.

Author(s)

Andrzej OleÅ› <andrzej.oles@gmail.com>, 2014-2023

Examples

img = read.image(system.file("images", "nuclei.tif", package="EBImage"))

coreMetadata(img)

# subset for specific names

globalMetadata(img, pattern="Image")

aoles/RBioFormats documentation built on May 3, 2024, 7:46 a.m.