Learn R Programming

Qploidy (version 1.0.1)

get_R_theta: Get R and Theta Values from Summary File

Description

This function calculates R and theta values from a cleaned summary file. It optionally performs standard normalization by plate and markers.

Usage

get_R_theta(cleaned_summary, atan = FALSE)

Value

A list containing the following elements: - `R_all`: A data frame where each row corresponds to a marker, and columns represent total signal intensity (R) values for each sample. - `theta_all`: A data frame where each row corresponds to a marker, and columns represent allelic ratio (theta) values for each sample. - Both data frames include a `MarkerName` column as the first column, which contains marker identifiers.

Arguments

cleaned_summary

A summary object from the clean_summary function.

atan

Logical. If TRUE, calculates theta using atan2.