descriptives_CpGs: CpGs descriptive data

View source: R/descriptives_CpGs.R

descriptives_CpGsR Documentation

CpGs descriptive data

Description

Get CpG descriptive data and optionally, writes a file with descriptive data from CpGs

Usage

descriptives_CpGs(
  cohort,
  columns,
  filename = NULL,
  nsamples = NULL,
  artype = "450K",
  before = TRUE
)

Arguments

cohort

Dataframe with CpGs data

columns

Integer vector with column position that we are interested in

filename

Optional, filename to write results, if NULL no results are writed in a file

nsamples

numeric, Optional, samples in cohort

before

bolean, Optional, if true, prints text "Before QC" , else, prints "After QC"

Value

list with descriptive values

  • nCpGsNumber of CpGs in data

  • BETADescriptive data for beta value

  • SEDescriptive data for standard Error

  • P_VALDescriptive data for p-value


isglobal-brge/EASIER documentation built on Sept. 25, 2024, 10:50 p.m.