Last updated: 2017-03-07
Code version: 39c0e59
cell types: K562 GM12878 HUVEC NHLF
prcomp_marks(asinh(count_marks_cells.l[['K562']]), 'K562', center = T, scale = T, plot_scree = T)

prcomp_marks(asinh(count_marks_cells.l[['GM12878']]), 'GM12878', center = T, scale = T, plot_scree = T)

prcomp_marks(asinh(count_marks_cells.l[['HUVEC']]), 'HUVEC', center = T, scale = T, plot_scree = T)

prcomp_marks(asinh(count_marks_cells.l[['NHLF']]), 'NHLF', center = T, scale = T, plot_scree = T)

# Inverse Hyperbolic Sine Transform
data.m <- asinh(count_marks_cells.m)
# Not centered, not scaled
prcomp_marks(data.m, '4 cell types', center = F, scale = F, plot_scree = T)

# Centered, not scaled
prcomp_marks(data.m, '4 cell types', center = T, scale = F, plot_scree = T)

# Centered and scaled
prcomp_marks(data.m, '4 cell types', center = T, scale = T, plot_scree = T)

This R Markdown site was created with workflowr