betas_to_consensus_vector: Converts betas matrix to consensus vectors of probes for each...

Description Usage Arguments Value Examples

View source: R/preprocessData.R

Description

This function creates a consensus vector for each group using the betas matrix

Usage

1
2
3
4
5
6
7
betas_to_consensus_vector(
  reference_file,
  series_matrix_file,
  betas,
  group_names,
  remove_names
)

Arguments

reference_file

directory location of where given IDAT file is located

series_matrix_file

directory location of where given series matrix file is located

betas

matrix (rows are cell names, columns are probe names)

group_names

list of cell names in betas

remove_names

list of cell names in betas

Value

consensus vector data frame for each cell in group names

Examples

1
2
3
4
consensus_vector <- betas_to_consensus_vector('~/references/
EPIC.hg38.manifest.rds', 'GSE110554/samples_GEOLoadSeriesMatrix.rds', 
betas, c('NK', "Monocytes", ...), c('A.mix', 'B.mix', ...))
... some visualization 

ethanmoyer/MethylConstruct documentation built on July 10, 2020, 12:28 a.m.