betas_to_consensus_vector: Convert 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. Sex cells and unwanted cell groups given the function are removed first. Then the cells are fit to a bimodal distribution and finally compiled into consensus vectors for each cell group.

Usage

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

Arguments

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

reference

reference file

Value

consensus vector for each cell in group names

Examples

1
2
consensus_vector <- betas_to_consensus_vector(reference, 'GSE110554/samples_GEOLoadSeriesMatrix.rds', 
betas, c('NK', "Monocytes", ...), c('A.mix', 'B.mix', ...))

ethanmoyer/ICCE documentation built on Aug. 25, 2020, 5:18 p.m.