View source: R/cnsignature_functions.R
generateSampleByComponentMatrix | R Documentation |
This function get components per sample. Approach developed by Geoff Macintyre et al. 2018
generateSampleByComponentMatrix( CN_features, all_components = NULL, cores = 1, rowIter = 1000, subcores = 2 )
CN_features |
list with features per sample |
all_components |
components of copy-number signatures to obtain |
cores |
number of cores to use. Default is 1 |
rowIter |
iterations for calculation of sum of posteriors |
subcores |
number of subcores to use. Default is 2 |
A matrix with components per sample
## Not run: profiles< getProfiles(segcn=cells_segcn, samples=unique(cells_segcn$sample)[1:4]) CN_features<-extractCopynumberFeatures(profiles) sample_by_component<-generateSampleByComponentMatrix(CN_features, all_components=component_parameters) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.