A test dataset of estimated proportions for 5 cell types over 100 samples.

est_prop

Format

A data.frame object.

Details

11.62 kB

These are the columns of the data.frame object:

  • cell_A: estimated proportions for cell type A

  • cell_B: estimated proportions for cell type B

  • cell_C: estimated proportions for cell type C

  • cell_D: estimated proportions for cell type D

  • cell_E: estimated proportions for cell type E

Examples

## R Note that the `rowSums(est_prop)` is equal to 1,
## with a small error tolerance.
summary(rowSums(est_prop) - 1)
#>      Min.   1st Qu.    Median      Mean   3rd Qu.      Max. 
#> -1.11e-16  0.00e+00  0.00e+00 -1.11e-18  0.00e+00  0.00e+00 

## You can check this yourself with:
testthat::expect_equal(rowSums(est_prop), rep(1, 100), ignore_attr = TRUE)