prepare.fastq.specification: prepare.fastq.specification

Description Usage Arguments Details Value

View source: R/prepare.fastq.specification.R

Description

Prepare FASTQ specification data frame to standardized format for downstream analyses.

Usage

1
2
3
prepare.fastq.specification(sample.details, sample.id.column = 1,
  fastq.columns = c(2, 3), patient.id.column = NA,
  tissue.column = NA)

Arguments

sample.details

Data frame where each row represents a sample to be run. Must contain sample ID, path to tumour BAM, and path to normal BAM.

sample.id.column

Index or string giving column of sample.details that contains the sample ID

fastq.columns

Index or string giving column(s) of sample.details that contain path to FASTQ files

patient.id.column

Index or string giving column of sample.details that contains the patient ID

tissue.column

Index or string giving column of sample.details that contains information on tissue (tumour/ normal)

Details

This function prepares a data frame that can be used to run alignment. For paired-end reads, this data frame will contain three columns with names: sample.id, reads, mates For single-end reads, the data frame will contain two columns with names: sample.id, reads

Value

Data frame with one row per sample to be run


varitas documentation built on Nov. 14, 2020, 1:07 a.m.