means.dim.red: means.dim.red

Description Usage Arguments Details Value Author(s) Examples

View source: R/utlis.R

Description

Calculates the x and y coordinates of the mean of each classified group in the dimensionality reduced data.

Usage

1
means.dim.red(data, classes)

Arguments

data

Singlet 2D tsne.

classes

A character vector indicating the class of each singlet.

Details

This method is typically only used in conjunction with plotting. It calculates the 2 dimensional location of the mean of each classified group in the supplied unsupervised dimensionality reduction (t-SNE) data representation.

Value

A matrix containing the mean value for each gene for each classification group.

Author(s)

Jason T. Serviss

Examples

1
2
3
4
means <- means.dim.red(
  getData(CIMseqSinglets_test, "dim.red"),
  getData(CIMseqSinglets_test, "classification")
)

EngeLab/CIMseq documentation built on Jan. 25, 2022, 5 a.m.