meffil.gds.apply: Return a vector or list of values obtained by applying a...

View source: R/gds.r

meffil.gds.applyR Documentation

Return a vector or list of values obtained by applying a function to the margins of a methylation or detection p-value matrix stored in a GDS file.

Description

Return a vector or list of values obtained by applying a function to the margins of a methylation or detection p-value matrix stored in a GDS file.

Usage

meffil.gds.apply(
  gds.filename,
  bysite = T,
  type = c("list", "none", "integer", "double", "character", "logical", "raw"),
  FUN,
  sites = NULL,
  samples = NULL,
  ...
)

Arguments

gds.filename

Name of GDS file generated by meffil.normalize.samples()

bysite

If TRUE, then apply function to each CpG site (row), otherwise to each sample (column) (Default: TRUE).

type

returned value.

FUN

the function to be applied.

sites

Names of CpG sites to apply to, NULL means all sites (Default: NULL).

samples

Names of samples to apply to, NULL means all samples (Default: NULL).

...

perishky/meffil documentation built on June 9, 2024, 5:59 p.m.