clusterServer: Server function to cluster a count matrix by rows and/or...

View source: R/cluster.R

clusterServerR Documentation

Server function to cluster a count matrix by rows and/or columns

Description

clusterServer() clusters the supplied counts wither by rows or columns or both

Usage

clusterServer(id, counts = NULL, gene_metadata = NULL, debug = FALSE)

Arguments

id

namespace id for the UI components. Must match the id provided to the clusterInput() function.

counts

a reactive counts object. Should contain only numeric columns

gene_metadata

a reactive object. Contains the metadata for the genes present in the counts object.

debug

Turn on debugging message statements

Value

a shiny::reactive() object which is the clustered counts

Examples


clusterServer("rnaseqData", counts = reactive(rnaseqVis::counts[1:10,1:5]))


richysix/rnaseqVis documentation built on Feb. 12, 2024, 1:37 p.m.