Skip to contents

Get feature metadata

Usage

# S3 method for class 'MarchRProject'
get_feature_metadata(
  proj,
  assay_names = character(0),
  add_assay_column = TRUE,
  append_assay_names = FALSE,
  overwrite = TRUE,
  ...
)

Arguments

proj

(MarchRProject) Object to get metadata from.

assay_names

(character) Names of assays to get metadata from. If not given, all assayas are used.

add_assay_column

(logical) If TRUE, add a column with the assays name to the metadata.

append_assay_names

(logical) If TRUE, append assays names to cell names. Helps to distinguish features with the same name across multiple assays

Value

(data.frame or matrix) Cell metadata. If proj is a MarchRProject, returns metadata concatted across all assays.

Details

Requires the metadata from every assay to have the same feature names.