DNBfilter: DNBfilter

View source: R/main.R

DNBfilterR Documentation

DNBfilter

Description

Filter DNB model by selecting the most N modules from each group with max score,

and apply these modules to all group to recompute DNB model

Usage

DNBfilter(
  DNB_output,
  ntop,
  force_allgene = FALSE,
  size_effect = TRUE,
  quiet = FALSE
)

Arguments

DNB_output

S3:DNB_output, from output of DNBcompute

ntop

the numbers of modules to filter

force_allgene

whether force to use all genes from data, default FALSE (use the gene sets from output of DNBcompute)

size_effect

whether consider the effect of sample size when compute CI of DNB, default TRUE

quiet

do not message

Value

S3:DNB_output

Author(s)

Kaiyu Wang, in ChenLab of CAS, Shanghai, China

Examples

data(data.example)
data(meta.example)
a <- DNBcompute(data.example, meta.example)
b <- DNBfilter(a, ntop = 5)
b


Kaiyu-W/DNBr documentation built on April 27, 2024, 10:09 a.m.