Description Usage Arguments Value Examples
View source: R/preprocessData.R
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.
1 2 3 4 5 6 7 | betas_to_consensus_vector(
reference_file,
series_matrix_file,
betas,
group_names,
remove_names
)
|
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 |
consensus vector for each cell in group names
1 2 | consensus_vector <- betas_to_consensus_vector(reference, 'GSE110554/samples_GEOLoadSeriesMatrix.rds',
betas, c('NK', "Monocytes", ...), c('A.mix', 'B.mix', ...))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.