Description Usage Arguments Value Examples
View source: R/preprocessData.R
This function creates consensus vector for each group using majority ruling: across all probes, whichever category (methylated/unmethylated) is represented in more than 2/3's of the sample will saved. Otherwise, -1 for ambiguous is saved. A probabilistic model will supplement this in the future.
1 | create_consensus_vector(betas, group_names)
|
betas |
matrix (rows are cell names, columns are probe names) |
group_names |
list of cell names in betas |
consensus vector for each cell in group names
1 2 3 | consensus_vector <- create_consensus_vector(betas, c('NK', "Monocytes",
...))
... some visualization
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.