filter_exprs_replicated_in_some_subgroup: Filter features with replicated expression in some subgroup

filter_exprs_replicated_in_some_subgroupR Documentation

Filter features with replicated expression in some subgroup

Description

Filter features with replicated expression in some subgroup

Usage

filter_exprs_replicated_in_some_subgroup(
  object,
  subgroupvar = "subgroup",
  assay = assayNames(object)[1],
  comparator = if (contains_ratios(object)) "!=" else ">",
  lod = 0,
  nsample = 2,
  nsubgroup = 1,
  verbose = TRUE
)

Arguments

object

SummarizedExperiment

subgroupvar

subgroup svar

assay

string

comparator

'>' or '!='

lod

number: limit of detection

nsample

number

nsubgroup

number

verbose

TRUE or FALSE

Value

Filtered SummarizedExperiment

Examples

file <- system.file('extdata/atkin.metabolon.xlsx', package = 'autonomics')
object <- read_metabolon(file)
object %<>% filter_exprs_replicated_in_some_subgroup()
filter_exprs_replicated_in_some_subgroup(object, character(0))
filter_exprs_replicated_in_some_subgroup(object, NULL)

bhagwataditya/importomics documentation built on July 11, 2024, 11:26 a.m.