changeset 44:10e058addc0c draft

Uploaded
author proteomisc
date Sat, 16 Dec 2023 15:56:31 +0000
parents dc0904796d06
children a738f5824d0b
files preprocess_datasets/GenePix_Two_Colors_Preprocessing_Functions.R
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/preprocess_datasets/GenePix_Two_Colors_Preprocessing_Functions.R	Sat Dec 16 13:29:28 2023 +0000
+++ b/preprocess_datasets/GenePix_Two_Colors_Preprocessing_Functions.R	Sat Dec 16 15:56:31 2023 +0000
@@ -10,12 +10,11 @@
  MAb$M=(data_mt)
  MAb$A=NaRV.omit(as.data.frame(MAb$A))
  MAb$genes=(MAb$genes[(MAb$genes$ID %in% c(rownames(MAb$A),rownames(MAb$M))),])
- MA.avg <-suppressWarnings(suppressMessages(avereps(MAb, ID=MAb$genes$ID)))
+ MA.avg <-suppressWarnings(suppressMessages(avereps(MAb)))
  data_matrix=NaRV.omit(MA.avg$M)
  colnames(data_matrix)<-designo$sample
  write.table(format(data_matrix, justify="right"),sep="\t", quote=FALSE,
             row.names=T, col.names=T,file="Matrix.Data.tsv")    
 
 return(make_design(MA_matrix=list(dataBG=RG,dataNWA=RG.pq,dataNBA=MA.avg,matrix_data=as.matrix(data_matrix),symbol=MA.avg$genes$Name)))
-}
-
+}
\ No newline at end of file