get_sample_depths: Get Sample Depths

Description Usage Arguments Note Examples

View source: R/traditional_analysis_functions.R

Description

Computes the sum of all barcode counts

Usage

1
get_sample_depths(mpra_data, depth_multiplier = 1e+06)

Arguments

mpra_data

a dataframe of MPRA data

depth_multiplier

a numeric to divide through the depths to make the numbers more easily interpretable

Note

The depth_multiplier input has no effect on the downstream analysis as it divides out because both RNA and DNA counts are normalized by this same factor. It simply sets the scale of depth factors at an easily-readable range.

Examples

1
2
3
get_sample_depths(umpra_example)
# Data from non-subsampled datasets with typical sequencing depths will typically
# show depth factors larger than this example, in the 10-100 range.

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