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.
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")
# }
Run the code above in your browser using DataLab