Nanostring-Biostats / InSituType

An R package for performing cell typing in SMI and other single cell data
Other
26 stars 10 forks source link

REF matrix scale #207

Open onsamoylova opened 1 month ago

onsamoylova commented 1 month ago

Can I ask you a question about reference scale for the Insitutype cell labeling part? From https://github.com/Nanostring-Biostats/InSituType/blob/main/vignettes/NSCLC-supervised-cell-typing-vignette.Rmd It mentioned:

  1. A "reference matrix" giving the expected expression profile of each cell type, with genes in rows and cell types in columns. The reference matrix must be in linear-scale, not log-scale. And they used reference matrix in linear scale , provided as a part of the package:

data("ioprofiles")

From other side on nanostring tutorial: refprofiles <- read.csv(https://raw.githubusercontent.com/Nanostring-Biostats/CosMx-Cell-Profiles/main/Human/IO/IO.profiles.csv, row.names = 1, header = TRUE)

which is a log scale(?)

Could you please verify what scale of ref matrix should be used. Log vs linear scale give different results.

github-actions[bot] commented 1 month ago

Thank you for contacting us about our tools! To receive assistance, kindly email support@nanostring.com with detailed information about your issue. If applicable, attach a screenshot of any encountered errors and include a copy of the modified script in Notepad. Our customer support team will help facilitate a review and resolution of the issue.

Thank you for choosing NanoString, NanoString Dev Team