get_hvg {OncoSubtype} | R Documentation |
select highly variable genes from a expression matrix
Description
select highly variable genes from a expression matrix
Usage
get_hvg(data, top = 1000)
Arguments
data |
a (normalized) matrix with rownames of features and colnames of samples |
top |
number of top highly variable genes to output |
Value
subset with top ranked genes by the variances
Examples
## Not run:
library(OncoSubtype)
data <- get_median_centered(example_fpkm)
data <- assays(data)$centered
get_hvg(data)
## End(Not run)
[Package OncoSubtype version 1.0.0 Index]