- The GeomxTools package shall be downloaded and installed from Bioconductor or from GitHub without GeomxTools-specific installation errors.
- The package vignette shall knit without error.
Specifications: https://github.com/Nanostring-Biostats/GeomxTools/blob/0bbd08db0081eb9347e6a859c98d4e363e883ca4/specs.md#specs-for-geomxtools
- The function shall read in a Digital Count Conversion (DCC) file for one AOI
- The function shall return a list containing:
- Header - version numbers and date
- Scan Attributes - plate and well information
- NGS Processing Attributes - sequencing information
- Code Summary - counts per RTS_ID
Specifications: https://github.com/Nanostring-Biostats/GeomxTools/blob/0bbd08db0081eb9347e6a859c98d4e363e883ca4/specs.md#specs-for-readdccfile
- The function shall read in one or more Probe Kit Configuration (PKC) files
- The function shall return a dataframe with 6 columns and Metadata:
- Column Names:
- RTS_ID
- Target (Gene Name)
- Module (PKC file name)
- CodeClass (Gene Type: Negative, Control, Endogenous, etc)
- ProbeID
- Negative (Negative Probe Boolean)
- Metadata:
- PKC File Name(s)
- PKC File Version(s)
- PKC File Date(s)
- Analyte Type
- Minimum AOI Area Recommendation(s)
- Minimum Nuclei Count Recommendation(s)
- Column Names:
- The function shall work with multiple PKC versions, only reading in overlapping genes and using the names from the default PKC
Specifications: https://github.com/Nanostring-Biostats/GeomxTools/blob/155ed8b0ef9272544c1b3c74aa3be15b9a57b6dd/specs.md#specs-for-readpkcfile
- The function shall return a NanoStringGeoMxSet object with the following attributes:
- Assay Data - gene x AOI count matrix
- Pheno Data - AOI segment properties
- Protocol Data - AOI annotations
- Feature Data - read PKC output (probe annotations)
- Experiment Data - lab, PI, publication data, PKC metadata, and any user-defined columns
Specifications: https://github.com/Nanostring-Biostats/GeomxTools/blob/0bbd08db0081eb9347e6a859c98d4e363e883ca4/specs.md#specs-for-readnanostringgeomxset
- There shall be functions to access parts of NanoStringGeoMxSet by users
- sData
- svarLabels
- dimLabels
- design
- featureType
- countsShiftedByOne
- There shall be functions to replace parts of NanoStringGeoMxSet by users
- dimLabels
- design
- featureType
Specifications: https://github.com/Nanostring-Biostats/GeomxTools/blob/0bbd08db0081eb9347e6a859c98d4e363e883ca4/specs.md#specs-for-nanostringgeomxset-class
- The function shall collapse multi-probe targets using geometric mean by default or a user-specified aggregation function.
Specifications: https://github.com/Nanostring-Biostats/GeomxTools/blob/0bbd08db0081eb9347e6a859c98d4e363e883ca4/specs.md#specs-for-aggregatecounts
- The function shall add negative geometric mean, negative geometric standard deviation, and any additional negative aggregations specified by the user to sample annotations.
Specifications: https://github.com/Nanostring-Biostats/GeomxTools/blob/0bbd08db0081eb9347e6a859c98d4e363e883ca4/specs.md#specs-for-summarizenegatives
- The method shall add normalized data as an assayDataElement matrix with quantile normalization, negative normalization, housekeeper normalization, or background subtraction.
Specifications: https://github.com/Nanostring-Biostats/GeomxTools/blob/0bbd08db0081eb9347e6a859c98d4e363e883ca4/specs.md#specs-for-normalize
- GeomxTools shall provide the ability to perform Segment QC on the data by performing Technical Signal quality Control which assesses the quality sequencing of each segment.
- GeomxTools shall provide the ability to perform Segment QC on the data by performing Technical background quality Control which flags the samples based on the negative controls.
- GeomxTools shall provide the ability to perform Segment QC on the data based on minimum nuclei and surface area count cutoffs.
- These QCs may be safely bypassed if nuclei or area data is not available.
- The setSegmentQCFlags method shall be equivalent to running all segment QC methods (setSeqQCFlags, setBackgroundQCFlags, setGeoMxQCFlags); QC results shall match segement Qualty Control in DSPDA performed with the same settings.
- Biological probe QC shall be available in GeomxTools. This shall allow probes that appear to be outliers in the data to be flagged and results shall be similar to BioProbe Qualty Control in DSPDA performed with the same settings.
Specifications: https://github.com/Nanostring-Biostats/GeomxTools/blob/0bbd08db0081eb9347e6a859c98d4e363e883ca4/specs.md#specs-for-quality-control
- The function shall perform linear mixed model different expression analysis on expression data.
Specifications: https://github.com/Nanostring-Biostats/GeomxTools/blob/0bbd08db0081eb9347e6a859c98d4e363e883ca4/specs.md#specs-for-mixedmodelde
- The function shall impute counts by adding one.
Specifications: https://github.com/Nanostring-Biostats/GeomxTools/blob/0bbd08db0081eb9347e6a859c98d4e363e883ca4/specs.md#specs-for-shiftcountsone
- The function shall save expression data from a GeoMxSet object as DCC file(s).
Specifications: https://github.com/Nanostring-Biostats/GeomxTools/blob/0bbd08db0081eb9347e6a859c98d4e363e883ca4/specs.md#specs-for-writenanostringgeomxset
- The function ngeoMean shall perform geometric mean transformations.
- The function ngeoSD shall perform geometric standard deviation transformations.
- The function logtBase shall perform log transformations.
Specifications: https://github.com/Nanostring-Biostats/GeomxTools/blob/0bbd08db0081eb9347e6a859c98d4e363e883ca4/specs.md#specs-for-utilty-functions
- The function to.Seurat shall copy neccesary data to a Seurat object.
- The function to.SpatialExperiment shall copy neccesary data to a SpatialExperiment object.
- There shall be functionality to coerce old class versions to current version.
Specifications: https://github.com/Nanostring-Biostats/GeomxTools/blob/155ed8b0ef9272544c1b3c74aa3be15b9a57b6dd/specs.md#specs-for-geomxset-coercions