read_layout_file: Function specific to read layout files (.csv).

View source: R/read_layout_file.R

read_layout_fileR Documentation

Function specific to read layout files (.csv).

Description

This function recive layout file properly formatted. This function is similar to the function read_plate() from plater package.

Usage

read_layout_file(file, well_ids_column = "Wells")

Arguments

file

The path to a proper .csv file.

well_ids_column

add the name to column well

Value

Returns a tibble data frame with different attributes The first column is "Wells" this contain the names for each well (A01, A02..). The rest of the attributes represent the different conditions.

file format

The format that read_layout_file() receive is a .csv file previously formatted in a proper way. This mean that the separation between conditions is one empty line.

References

\insertRef

platermpxtractor

Examples

file_path <- system.file(
 "extdata",
 "test_layout_file.csv",
  package = "mpxtractor"
)

# Data is store as a tibble
data <- read_layout_file(
  file = file_path
)

# Now data is tidy
head(data)





MartinBanchero/mpxtractor documentation built on March 30, 2022, 10:56 p.m.