Learn R Programming

NanoStringNorm (version 1.1.13)

read.xls.RCC: read.xls.RCC

Description

A function to read the raw counts from the RCC excel spreadsheet output by the nCounter platform.

Usage

read.xls.RCC(xls, sheet = 1, perl, sample.id.row = 'File.Name')

Arguments

xls
The excel spreadsheet output by nCounter. This should be a string with the path pointing to the desired file.
sheet
The worksheet that contains the raw counts. Make sure to check that you are using the worksheet with the "raw" counts and not something that has been processed. The name of the correct worksheet usually has "RCC" in it but not "norm". The input is an i
perl
The path to a perl binary. This does not need to be specified if perl is in your PATH
sample.id.row
The row in the RCC file that contains the sample IDs to be used as column names for the count data. Defaults to "File.Name" but in some cases "Sample.ID" or "Lane.ID" would be more appropriate.

Value

  • Returns a list with two components. The first is the header information which contains sample IDs and diagnostic information on the quality of the samples. The second is the count data and can be directly used in the input to NanoStringNorm.

Examples

Run this code
# directly import the nCounter output
path.to.xls.file <- system.file("extdata", "RCC_files", "RCCCollector1_rat_tcdd.xls", package = "NanoStringNorm");
NanoString.mRNA <- read.xls.RCC(x = path.to.xls.file, sheet = 1);

Run the code above in your browser using DataLab