setSeqQCFlags: Add sequencing QC flags to NanoStringGeoMxSet object protocol...

View source: R/NanoStringGeoMxSet-qc.R

setSeqQCFlagsR Documentation

Add sequencing QC flags to NanoStringGeoMxSet object protocol data

Description

Add sequencing QC flags to NanoStringGeoMxSet object protocol data

Usage

setSeqQCFlags(object, qcCutoffs = DEFAULTS)

Arguments

object

name of the NanoStringGeoMxSet object to perform QC on

qcCutoffs

a list of qc cutoffs to use

  1. minSegmentReads, numeric to flag segments with less than this number of reads

  2. percentAligned, numeric to flag segments with less than this percent of aligned reads

  3. percentSaturation, numeric to flag segments with less than this percent of sequencing saturation

Value

NanoStringGeoMxSet object with QCFlags data frame appended to protocolData

Examples

datadir <- system.file("extdata", "DSP_NGS_Example_Data",
                       package="GeomxTools")
demoData <- readRDS(file.path(datadir, "/demoData.rds"))
setSeqQCFlags(demoData[,1:10], 
                 qcCutoffs=list(minSegmentReads=1000, 
                                percentAligned=80, 
                                percentSaturation=50))


Nanostring-Biostats/GeomxTools documentation built on Sept. 24, 2024, 4:51 p.m.