read.xls.RCC: read.xls.RCC

Description Usage Arguments Value Author(s) Examples

View source: R/read.xls.RCC.R

Description

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

Usage

1
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 integer and it defaults to 1 or the first worksheet.

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.

Author(s)

Daryl M. Waggott

Examples

1
2
3
4
5
 
# 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);

NanoStringNorm documentation built on Sept. 13, 2020, 5:08 p.m.