Description Usage Arguments Value
View source: R/refit_w_comparison.r
Compares cell fraction estimates from EpiDISH and TCA under several models
1 2 3 4 5 6 7 8 | compare_cell_fraction_estimates(
X,
W.facs,
C1 = NULL,
C2 = NULL,
random_seed = 1000,
verbose = TRUE
)
|
X |
Matrix of methylation values with column names as samples and row names as sites |
W.facs |
Matrix of FACS derived cell type fractions with column names as cell types and row names as samples |
C1 |
Matrix of source-specific covariates for TCA with column names as features and row names as samples |
C2 |
Matrix of mixture-level covariates for TCA with column names as features and row names as samples |
random_seed |
Random seed for replication |
verbose |
Boolean for printing out progress |
A list of results. Slot performance.metrics contains a dataframe where each row indicates either the PCC or RMSE of a method for estimating a specific cell type fraction. Slot prop.estimates contains a list of fractions estimated by each method.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.