Skip to content

Constructing the countFile from imported dcc files. #48

@vmkalbskopf

Description

@vmkalbskopf

Using the example from readNanoStringGeoMxSet and the example data provided by the GeomxTools package, can you show how one can construct the count, sample, and annotation data needed for the standR readGeoMx() function?

Here is the example from the docs:

datadir <- system.file("extdata", "DSP_NGS_Example_Data",
                       package="GeomxTools")
dccFiles <- dir(datadir, pattern=".dcc$", full.names=TRUE)
pkc <- unzip(zipfile = file.path(datadir,  "/pkcs.zip"))
sampleAnnotationFile <- file.path(datadir, "annotations.xlsx")

dccFileColumn <- "Sample_ID"
dccSet <- readNanoStringGeoMxSet(dccFiles, pkcFile = pkc,
                                 phenoDataFile = sampleAnnotationFile,
                                 phenoDataSheet="CW005")

I have been going in circles for weeks now..

counts <- assayData(dccSet)[["exprs"]]
produces gene counts for each dcc file, not counts for each combination of ROI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions