View source: R/simulate_3comp.R
simulate_3comp | R Documentation |
Function to simulate three-component mixed cell line test data used in DeMixT function.
simulate_3comp(
G1 = 675,
G2 = 25,
My = 20,
M1 = 100,
M2 = 100,
output.more.info = FALSE
)
G1 |
Number of genes, where |
G2 |
Number of genes, where |
My |
Number of mixture tumor samples for simulation. |
M1 |
Number of first known reference for simulation. |
M2 |
Number of second known reference for simulation. |
output.more.info |
The logical flag indicating wheter to show True.data.T, True.data.N1 and True.data.N2 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 simulated expression data
from mixed tumor samples. It is a |
data.N1 |
A SummarizedExperiment object of simulated expression data
from reference component 1 (e.g., normal). It is a |
data.N2 |
A SummarizedExperiment object of expression data from
additional reference samples. 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., stroma). It is a |
True.data.N2 |
A SummarizedExperiment object of simulated true
expression data for reference component 2 (e.g., immue). It is a |
test.data = simulate_3comp(G1 = 675, G2 = 25, My = 20, M1 = 100, M2 = 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.