inspect_raw_data: Inspect raw data

Description Usage Arguments Value

View source: R/inspect_raw_data.R

Description

This function plots the raw data of experiments for visual inspection.

Usage

1
2
inspect_raw_data(raw_data, data_type, highest_signal = NULL,
  output_directory = NULL, plot_format = "png")

Arguments

raw_data

A dataframe containing the raw data. It must be the output of format_data or fp_calculate_pola_aniso_int.

data_type

A character string describing which type of data is supplied for pre-processing. Currently supported options are "fret" and "fp".

highest_signal

An optional number corresponding to the maximal signal measurable by the instrument used. Defaults to NULL, which won't check for the presence of saturated reads. The input number is not checked in any way: make sure it really corresponds to a saturated read with your instrument.

output_directory

An optional directory name where to write plots. This directory will be created if it does not already exist.

plot_format

A character string indicating the file format to use to save plots. Possible values are "png" (default value), "pdf" and "svg".

Value

A list in which each item is named after the corresponding experiment, and holds a single ggplot2 graph objects or a list of several such objects.


Guilz/rfret documentation built on Oct. 18, 2021, 2:14 p.m.