bhattacharya-a-bt / CBCS_normalization

Code and summary results for "Best practices for normalization of Nanostring nCounter gene expression cohorts"
5 stars 9 forks source link

where is nanostring_functions.R? #4

Open bihuimel opened 2 years ago

bihuimel commented 2 years ago

Dear All,

I can't find the nanostring_functions.R file. I tried nanostring_RUV_functions.R. However, running the code below gave me an error. for (i in 1:length(files.RCC.COV)){ rcc = readRcc(files.RCC.COV[i]) raw = rcc$Code_Summary raw_expression[,i+2] = as.numeric(raw$Count) colnames(rawexpression)[i+2] = strsplit(files.RCC.COV[i], '')[[1]][1] pData[i,2:7] = as.vector(rcc$Sample_Attributes) pData$imagingQC[i] = imagingQC(rcc) pData$bindingDensityQC[i] = bindingDensityQC(rcc,.05,2.25) pData$limitOfDetectionQC[i] = limitOfDetectionQC(rcc) pData$positiveLinearityQC[i] = positiveLinQC(rcc) }

The error is: Error in readRcc(files.RCC.COV[i]) : could not find function "readRcc".

Thanks. Bihui

bhattacharya-a-bt commented 2 years ago

Hi Bihui,

Those functions should be in the R package: https://github.com/bhattacharya-a-bt/NanoNormIter.

Thanks! Arjun

Arjun Bhattacharya, PhD Postdoctoral Fellow Department of Pathology and Laboratory Medicine Computational Medicine Institute for Quantitative and Computational Biosciences David Geffen School of Medicine University of California, Los Angeles

On Fri, Mar 4, 2022 at 1:09 PM bihuimel @.***> wrote:

Dear All,

I can't find the nanostring_functions.R file. I tried nanostring_RUV_functions.R. However, running the code below gave me an error. for (i in 1:length(files.RCC.COV)){ rcc = readRcc(files.RCC.COV[i]) raw = rcc$Code_Summary raw_expression[,i+2] = as.numeric(raw$Count) colnames(rawexpression)[i+2] = strsplit(files.RCC.COV[i], '')[[1]][1] pData[i,2:7] = as.vector(rcc$Sample_Attributes) pData$imagingQC[i] = imagingQC(rcc) pData$bindingDensityQC[i] = bindingDensityQC(rcc,.05,2.25) pData$limitOfDetectionQC[i] = limitOfDetectionQC(rcc) pData$positiveLinearityQC[i] = positiveLinQC(rcc) }

The error is: Error in readRcc(files.RCC.COV[i]) : could not find function "readRcc".

Thanks. Bihui

— Reply to this email directly, view it on GitHub https://github.com/bhattacharya-a-bt/CBCS_normalization/issues/4, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK3WO22PTARNYV2V27WKDIDU6J3X7ANCNFSM5P6SIWPA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>