rcc {nanostringr}R Documentation

Read NanoString RCC files

Description

Read RCC files and extract count and attribute data. Use read_rcc() for multiple files, and use the ⁠parse_*()⁠ functions for single files.

Usage

read_rcc(path = ".")

parse_counts(file)

parse_attributes(file)

Arguments

path

directory path for multiple RCC files

file

RCC file name

Details

RCC files for a sample are direct outputs from NanoString runs. We can extract counts for each gene in a sample. Sample attributes include sample ID, GeneRLF, date, cartridge ID, lane number, Fov count, Fov counted, and binding density. read_rcc() merges both count and attribute data across samples.

If path points to a zipped RCC file with multiple samples, the zip file is uncompressed and a directory of RCC sample files is created with the same name. Only file extensions ".RCC" or ".rcc" are allowed.

Value

read_rcc() reads in a directory of RCC files and outputs a list with two elements:

parse_counts() reads a single RCC file and returns a tibble of parsed counts.

parse_attributes() reads a single RCC file and returns a list of parsed attributes.

Author(s)

Derek Chiu

Examples

rcc_file <- system.file("extdata", "example.RCC", package = "nanostringr")
parse_counts(rcc_file)
parse_attributes(rcc_file)

[Package nanostringr version 0.4.2 Index]