Learn R Programming

specmine (version 1.0)

read_metadata: Read metadata

Description

Read the metadata from a file.

Usage

read_metadata(filename, header.col = T, header.row = T, 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.

Examples

Run this code
## Not run: 
#   ## Example of reading metadata from a file
#   metadata = read_metadata("metadata.csv")
# ## End(Not run)

Run the code above in your browser using DataLab