Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract NCSLC dataset and make as data package #28

Open
maddygriz opened this issue Jan 28, 2022 · 0 comments
Open

Extract NCSLC dataset and make as data package #28

maddygriz opened this issue Jan 28, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@maddygriz
Copy link
Collaborator

maddygriz commented Jan 28, 2022

Duplicated Issue to GeomxTools iss141

SpatialDecon has a GeoMx NSCLC dataset that had an ROI placement strategy to mimic Visium data (55 um circles evenly placed).

This dataset is used in the GeomxTools coercion vignette. Creating a data package from this dataset would be nice. This is an older dataset so the names of columns need to be updated

Code to update column names:

data("nsclc", package = "SpatialDecon")
nsclc@featureType <- "Target"

colnames(protocolData(nsclc))[colnames(protocolData(nsclc)) == "NormFactorQ3"] <- "qFactors"
colnames(protocolData(nsclc))[colnames(protocolData(nsclc)) == "NormFactorHK"] <- "hkFactors"

colnames(protocolData(nsclc))[colnames(protocolData(nsclc)) == "RawReads"] <- "Raw"
colnames(protocolData(nsclc))[colnames(protocolData(nsclc)) == "TrimmedReads"] <- "Trimmed"
colnames(protocolData(nsclc))[colnames(protocolData(nsclc)) == "AlignedReads"] <- "Aligned"
colnames(protocolData(nsclc))[colnames(protocolData(nsclc)) == "StitchedReads"] <- "Stitched"
colnames(protocolData(nsclc))[colnames(protocolData(nsclc)) == "SequencingSaturation"] <- "Saturated (%)"

protocolData(nsclc) <- protocolData(nsclc)[,-which(colnames(protocolData(nsclc)) %in% c("UID"))]

@maddygriz maddygriz added the enhancement New feature or request label Jan 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant