SFnormalize {SigFuge} | R Documentation |
Function for normalizing read count data as specified in the SigFuge method. The normalization procedure is applied prior to SigFuge clustering to remove the effect of sample-locus specific expression from the analysis. This allows the method to identify clusters based on expression patterns across the genomic locus. It is recommended to flag and remove low expression samples from the normalization and analysis since their shapes may be overwhelmed by noise. A threshold based method for identifying low expression samples is included in the function, but users may also specify their own flags for low expression samples.
SFnormalize(data, flag = 1)
data |
a d x n matrix of read counts at d positions for n samples. |
flag |
a n x 1 logical vector of
samples flagged as low expression. If |
SFnormalize
returns a list containing:
data.norm a d x (n-m) matrix of normalized read counts where m is the number of low expression samples.
flag a n x 1 logical vector of flagged samples.
Patrick Kimes <pkimes@live.unc.edu>
data(geneDepth) depthnorm <- SFnormalize(geneDepth, flag = 1)