Learn R Programming

specmine (version 3.1.6)

read_metadata: Read metadata

Description

Read the metadata from a file.

Usage

read_metadata(filename, header.col = TRUE, header.row = TRUE, 
sep = ",")

Arguments

filename

name of the file with the metadata.

header.col

boolean value indicating if the metadata CSV file contains a header column with the name of the metadata variables.

header.row

boolean value indicating if the metadata CSV file contains a header row with the name of the samples.

sep

the separator character.

Value

Returns a data frame with the metadata.