Description Usage Arguments Examples
Returns dataframe with all informations about mutation (Number of copies, Cellularity, etc.) and probability to belong to a clone
1 2 | Probability.to.belong.to.clone(SNV_list, clone_prevalence, contamination,
clone_weights = NULL)
|
SNV_list |
A list of dataframes (one for each sample), with as columns : (for the first column of the first sample the name of the sample), the chromosome "Chr",the position of the mutation "Start", the number of reads supporting the mutation "Alt", the depth of coverage at this locus "Depth", and if the output from FREEC for the samples are not associated, the genotype "Genotype". |
clone_prevalence |
List of numeric vectors giving the cellular prevalence of each clone in each sample, not normalized for contamination. This should be stored in 'QC_output$EM.output$centers' |
contamination |
Numeric vector giving the contamination by normal cells |
clone_weights |
Numeric vector giving the proportion of mutations in each clone |
1 2 3 4 | set.seed(123)
SNVs<-QuantumCat(number_of_clones = 2,number_of_mutations = 50,number_of_samples = 1,ploidy = "AB")
Probability.to.belong.to.clone(SNV_list=SNVs,
clone_prevalence=list(c(0.5,1),c(0.5,1)),contamination=c(0,0))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.