Learn R Programming

NanoStringNorm (version 1.0.7)

output.formatting: output.formatting

Description

This function is used internally to format the NanoStringNorm output

Usage

output.formatting(x, anno, otherNorm = 'none', round.values= FALSE, log = FALSE, verbose = TRUE);

Arguments

x
The data used for Normalization. This is typically the raw expression data as exported from an XLS spreadsheet. If anno is NA then the first three columns must be c('Code.Class', 'Name', 'Accession') and the remaining columns refer to the samples being
anno
Alternatively anno can be used to specify the first three annotation columns of the expression data. If anno used then it assumed that 'x' does not contain these data. Anno allows flexible inclusion of alternative annotation data. The only requirement
otherNorm
Some additional normalization methods. Options include 'none', 'quantile' and 'zscore'. otherNorm is applied after CodeCount, Background, SampleContent normalizations.
round.values
Should the values be rounded to the nearest absolute count or integer. This simplifies interpretation if taking the log by removing values 0-1 which result in negatives.
log
Should a log2 transformation of the data be used. Taking the log may help distributional assumptions and consistency with PCR based methods of calculating fold change.
verbose
Output run-time status messages

Details

The code is based on the NanoString analysis guidelines(see references). The function allows normalization of both mRNA and miRNA Nanostring expression data. The order of the methods is fixed but the use of NA and multiple iterations of the functions allows flexibility. Note. Poorly assayed samples could negatively influence the normalization of the remaining data. Prior to normalization check that the binding density is not less than .05 and the number of total counts/FOV is not much less than 1500. The "Name" column of the RCC worksheet sometimes flags certain probes with the message "(+++ See Message Below)". If this is the case a "Readme" document including probe level adjustment factors should have been supplied by your Microrray center. This file must be edited into a tabular file and specified in the Probe.Background.Correction argument.Factor. The function will fail with an error if warnings are detected and no probe levele correction factor is supplied. Upon correction any warning messages will be stripped from the raw data file. This background is probe-specific and all background subtraction should be completed prior to normalization. The number of counts to be subtracted for a given probe is determined by multiplying a correction factor by the number of counts observed for the 128 fM positive control in the same lane.

References

See NanoString website for PDFs on analysis guidelines: http://www.nanostring.com/support/prod-lit/ The NanoString assay is described in the paper: Fortina, P. & Surrey, S. Digital mRNA profiling. Nature biotechnology 26, 293-294 (2008).

Examples

Run this code
# INSERT EXAMPLES HERE

Run the code above in your browser using DataLab