compute_activities: Compute MPRA activities

Description Usage Arguments Value Note Examples

View source: R/traditional_analysis_functions.R

Description

This function computes traditional MPRA activities, i.e. the log-ratio of RNA to DNA, for each barcode-RNA sample

Usage

1
2
3
4
5
6
compute_activities(
  mpra_data,
  rep_cutoff = 0.15,
  plot_rep_cutoff = TRUE,
  verbose = TRUE
)

Arguments

mpra_data

a data frame of MPRA data

rep_cutoff

a DNA representation cutoff

plot_rep_cutoff

a logical indicating whether or not to plot the DNA barcode abundance and the applied representation cutoff

verbose

logical indicating whether to print messages

Value

a data frame of activities

Note

the output is returned in a "tall" format, with sample_id's gathered into one column

Examples

1

andrewGhazi/malacoda documentation built on Aug. 2, 2020, 12:54 a.m.