SFlabels: Calculate SigFuge labels

Description Usage Arguments Value Author(s) Examples

View source: R/SFlabels.R

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

1
  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.

Author(s)

Patrick Kimes <pkimes@live.unc.edu>

Examples

1
2
3
data(geneDepth)
normalizedData <- SFnormalize(geneDepth)
labels <- SFlabels(normalizedData)

pkimes/SigFuge documentation built on May 25, 2019, 8:19 a.m.