analyzeQuantification: Perform quantitative analysis on the MPRA data. This analysis...

Description Usage Arguments Value Examples

View source: R/analysisFunctions.R

Description

Usage

1
analyzeQuantification(obj, dnaDesign = ~1, rnaDesign = ~1)

Arguments

obj

the MpraObject

dnaDesign

the design of the DNA counts

rnaDesign

the design of the RNA counts

Value

the MpraObject, with populated models

Examples

1
2
3
4
5
6
7
data <- simulateMPRA(tr = rep(2,10), da=NULL, nbatch=2, nbc=15)
obj <- MpraObject(dnaCounts = data$obs.dna, 
                  rnaCounts = data$obs.rna, 
                  colAnnot = data$annot)
obj <- estimateDepthFactors(obj, lib.factor = "batch", which.lib = "both")
obj <- analyzeQuantification(obj, dnaDesign = ~ batch + barcode, 
                              rnaDesign = ~1)

MPRAnalyze documentation built on Nov. 8, 2020, 8:22 p.m.