Learn R Programming

OncoSubtype (version 1.0.0)

get_hvg: select highly variable genes from a expression matrix

Description

select highly variable genes from a expression matrix

Usage

get_hvg(data, top = 1000)

Value

subset with top ranked genes by the variances

Arguments

data

a (normalized) matrix with rownames of features and colnames of samples

top

number of top highly variable genes to output

Examples

Run this code
if (FALSE) {
library(OncoSubtype)
data <- get_median_centered(example_fpkm)
data <- assays(data)$centered
get_hvg(data)
}

Run the code above in your browser using DataLab