unsupervised: Unsupervised heatmap by standard deviation

Description Usage Arguments Details Value See Also

View source: R/unsupervised.R

Description

unsupervised Performs unsupervised clustering on the most variable features. Also returns the names of the features.

Usage

1
2
unsupervised(x, n, col = colorRampPalette(c("blue", "black", "yellow"))(50),
  get_hm = FALSE, main = NULL, ...)

Arguments

x

Numeric matrix with samples in columns and features in rows.

n

Number of features.

col

Color for heatmap. Defaults to blue-black-yellow color scheme.

get_hm

Logical vector whether to return heatmap with feature names.

main

Title.

...

Passes arguments to heatmap.2

Details

Finds the most variable features across all samples by standard deviation, clusters them, and plots it on a heatmap using the heatmap.2 function.

Value

A heatmap.2 object and plot.

See Also

heatmap.2


sean-cho/toolkit documentation built on May 29, 2019, 4:24 p.m.