View source: R/simulate_2comp.R
simulate_2comp | R Documentation |
Function to simulate two-component test data for DeMixT.
simulate_2comp(G = 500, My = 100, M1 = 100, output.more.info = FALSE)
G |
Number of genes for simulation. |
My |
Number of mixture tumor samples for simulation. |
M1 |
Number of normal reference for simulation. |
output.more.info |
The logical flag indicating wheter to show True.data.T and True.data.N1 in the output. The default is FALSE. |
pi |
A matrix of estimated proportion. First row and second row corresponds to the proportion estimate for the known components and unkown component respectively for two or three component settings. Each column corresponds to one sample. |
Mu |
Simulated |
Sigma |
Simulated |
data.Y |
A SummarizedExperiment object of expression data from mixed
tumor samples. It is a |
data.N1 |
A SummarizedExperiment object of expression data
from reference component 1 (e.g., normal). It is a |
True.data.T |
A SummarizedExperiment object of simulated tumor expression
data. It is a |
True.data.N1 |
A SummarizedExperiment object of simulated true
expression data for reference component 1 (e.g., normal). It is a |
test.data = simulate_2comp(G = 500, My = 100, M1 = 100)
test.data$pi
test.data$Mu
test.data$Sigma
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.