read.csv.RCC: read.csv.RCC

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

read.csv.RCCR Documentation

read.csv.RCC

Description

A function to read the raw counts from the RCC Excel spreadsheet output by the nCounter platform. Excel file must be converted to CSV form.

Usage

read.csv.RCC(path, sample.id.row = 'File.Name')

Arguments

path

Path to the CSV version of spreadsheet output from nCounter. This should be a string with the path pointing to the desired file.

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

 
# directly import the nCounter output
path.to.csv.file <- system.file("extdata", "RCC_files", "RCCCollector1_rat_tcdd.csv",
	package = "NanoStringNorm");
NanoString.mRNA <- read.csv.RCC(path.to.csv.file);


uclahs-cds/public-R-NanoStringNorm documentation built on Feb. 13, 2025, 11:43 a.m.