colPrinComp1 | R Documentation |
This helper function returns the first principal component from an assay
stored as a matrix
.
colPrinComp1(x, center = TRUE, scale = TRUE)
x |
( |
center |
( |
scale |
( |
A numeric vector containing the principal component values for each
column in x
.
object <- hermes_data %>%
add_quality_flags() %>%
filter() %>%
normalize() %>%
assay("counts")
colPrinComp1(object)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.