dafs: dafs

Description Usage Arguments Details Value Author(s) References Examples

View source: R/dafs.R

Description

This function filters the expression using DAFS (see ref). This is a core function invoked by the DAFS wrapper.

Usage

1
dafs(VEC1, PLOT)

Arguments

VEC1

Vector 1, not intended for user interaction.

PLOT

Boolean, toggles plotting.

Details

This function filters the expression, using Data Adaptive Flag method.

Value

Returns vx[which.min(vv)] to wrapper function.

Author(s)

AJ Vaestermark, JR Walters.

References

BMC Bioinformatics, 2014, 15:92

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
library(mclust)
library(edgeR)
data(hmel.data.doser)
reps <- c("Male", "Male", "Male", "Female", "Female", "Female")
annotxn <- data.frame("Chromosome" = factor(hmel.dat$chromosome,
levels = 1:21))
hm.tr<-hmel.dat$trxLength
hm<-new("countDat",data=hmel.dat$readcounts,seglens=hm.tr,
annotation=annotxn)
replicates(hm) <- reps
libsizes(hm) <- getLibsizes2(hm, estimationType = "total")
rpkm(hm) <- make_RPKM(hm)
f_hm <- dafsFilter(hm)

avastermark19/doseR_0.99.4 documentation built on May 6, 2019, 12:08 p.m.