R/getChromosomeDat.R

getChromosomeDat<-function(object, ch, gg, verbose=TRUE)
{
	cat("Getting data from chromosome:", ch, "\n")

	probe.pos<-gg[gg$chr==ch,]$pos
	names(probe.pos)<-gg[gg$chr==ch,]$probe

	cnv.data<-lapply(1:length(object), function(x) object[[x]][[ch]])
	cnv.data<-unlist(cnv.data,recursive=FALSE)
	
	mat<-get.matrix(cnv.data, probe.pos, verbose)
}

Try the gada package in your browser

Any scripts or data that you put into this service are public.

gada documentation built on May 2, 2019, 6:10 p.m.