read_softmax_template: Read a 'SoftMax Pro' Template File

Description Usage Arguments Value Note Examples

View source: R/read_softmax_template.R

Description

Read a 'SoftMax Pro' Template File

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
read_softmax5_template(file, include_unspecified = FALSE,
  zeropad_wells = FALSE, wellsAsFactors = TRUE, groupsAsFactors = TRUE,
  typesAsFactors = TRUE, encoding = "guess", ...)

read_softmax6_template(file, include_unspecified = FALSE,
  zeropad_wells = FALSE, wellsAsFactors = TRUE, groupsAsFactors = TRUE,
  typesAsFactors = TRUE, encoding = "guess", ...)

read_softmax_template(file, include_unspecified = FALSE,
  zeropad_wells = FALSE, wellsAsFactors = TRUE, groupsAsFactors = TRUE,
  typesAsFactors = TRUE, encoding = "guess", ...)

Arguments

file

Either a path to a file, a connection, or literal data (either a single string or a raw vector).

include_unspecified

Logical value indicating whether (TRUE) or not (FALSE) to include non-annotated wells (default: FALSE)

zeropad_wells

Logical value indicating whether or not well names should be zero padded (e.g., "A04") (default: FALSE)

wellsAsFactors

Logical value indicating whether or not well names (e.g., "H5") should be treated as factors (default: TRUE)

groupsAsFactors

Logical value indicating whether or not groups should be treated as factors (default: TRUE)

typesAsFactors

Logical value indicating whether or not types should be treated as factors (default: TRUE). The set of valid types supported by 'SoftMax Pro' differs from version to version.

encoding

Encoding for the template file. If "guess", the default, the encoding will be guessed.

...

Additional parameters passed to read.delim

Value

A data frame

Note

Different versions of 'SoftMax Pro' write units differently. For example, v5.2 uses "l" for liters, while v6.4 uses "L".

Examples

1
2
3
4
## Not run: 
t1 <- read_softmax_template("plate_template.txt")

## End(Not run)

softermax documentation built on Sept. 21, 2017, 9:03 a.m.