R/getPcorr.R

getPcorr <-
function(DList){
  Pcorr=list()
  for(s in 1:length(DList)){
    #print(s)
    Pcorr[[s]]=cor(t(DList[[s]]))
    rownames(Pcorr[[s]])=rownames(DList[[s]])
    colnames(Pcorr[[s]])=rownames(DList[[s]])
  }
  #names(Pcorr)=names(DList)
  
  return(Pcorr)
}
metaOmic/MetaQC documentation built on May 22, 2019, 6:54 p.m.