readTarget: READ THE TARGET FILE

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/readTarget.R

Description

Checks and loads into a data.frame your target input file.

Usage

1
readTarget(target_file, asr_counts, del = "\t")

Arguments

target_file

A character-delimited text input file, containing metadata about ASR counts files (see target_file.txt).

asr_counts

The data.frame containing values of ASR counts (obtained either by the readRawInput or the readNormInput function). It is used to perform checks on compatibility with the target file.

del

Specifies the delimiter for the target input file, usually a semi-colon ";", a coma "," or a tabulation "\t". (default : "\t"). Note : None of your data values must contain this delimiter (be specially careful in gene names).

Details

See target_file.txt for more details about the target_file format.

Value

a data.frame containing the target.

Author(s)

Marine Rohmer marine.rohmer@mgx.cnrs.fr,
Christelle Reynès christelle.reynes@igf.cnrs.fr

See Also

target_file.txt: the metadata file on which to run the readTarget function.

Examples

1
2
3
4
5
6
7
8
  # Target input file
  targetfile <- system.file("extdata", "target_file.txt", 
  package = "ISoLDE")
  # The data.frame containing ASR counts is also required
  data(rawASRcounts)
  # Load into a data.frame and check the target file
  target <- readTarget(target_file = targetfile, 
  asr_counts = rawASRcounts, del = "\t")

Example output

Reading target file...
Done

ISoLDE documentation built on Jan. 10, 2021, 2:01 a.m.