importSampleSheet {PoDCall} | R Documentation

## importSampleSheet

### Description

Function that takes a path to a .csv-file containing information about the samples that correspond to the uploaded amplitude files. This file must contain the following columns: Well, Sample, TargetType and Target. A character vector with well IDs must also be provided, which is used to match rows in sample sheet to amplitude files

### Usage

    importSampleSheet(sampleSheet = NULL, well_id = NULL)

### Arguments

`sampleSheet` | Path to sample sheet file containg information about samples.
`well_id` | Character vector with well IDs corresponding to uploaded amplitude files.

### Value

A matrix with columns for sample ID, target assay and control assay.

### Examples

    ## Path to example sample sheet included in PoDCall
    path <- system.file("extdata", "Sample_names.csv", package="PoDCall")

    ## Select wells to get information for
    well_id <- c("A04", "B04", "D04")

    ## Get information for selected wells
    sampleSheet <- importSampleSheet(sampleSheet=path, well_id=well_id)

[Package PoDCall version 1.2.0 Index]