get_R_theta: Get R and Theta Values from Summary File

View source: R/prepare.R

get_R_thetaR Documentation

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)

Arguments

cleaned_summary

A summary object from the clean_summary function.

atan

Logical. If TRUE, calculates theta using atan2.

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.


Qploidy documentation built on June 8, 2025, 10 a.m.