Learn R Programming

SigFuge (version 1.8.0)

SFlabels: Calculate SigFuge labels

Description

Function for producing vector of SigFuge labels using 2-means clustering on non-low expression normalized data and combining with low expression flags. Typically, SFlabels is used by passing output from SFnormalize.

Usage

SFlabels(normData)

Arguments

normData
a list containing
  • data.norm a $d x (n-m)$ matrix of normalized read counts at $d$ positions for $(n-m)$ samples where $n$ is the total number of samples and $m$ is the number of low expression samples.
  • flag a $n x 1$ logical vector of flagged samples with $sum(flag) = m$.

Value

SFlabels returns a $n x 1$ vector of class labels.

Examples

Run this code
data(geneDepth)
normalizedData <- SFnormalize(geneDepth)
labels <- SFlabels(normalizedData)

Run the code above in your browser using DataLab