A test dataset of estimated proportions for 5 cell types over 100 samples.
est_prop
A data.frame
object.
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
## R Note that the `rowSums(est_prop)` is equal to 1,
## with a small error tolerance.
data("est_prop")
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:
all(round(rowSums(est_prop), 3) == 1)
#> [1] TRUE