readTarget {ISoLDE} | R Documentation

## READ THE TARGET FILE

### Description

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

### Usage

    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

      # 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")

[Package ISoLDE version 1.12.0 Index]