unsplitSnpSet {SNPchip} | R Documentation |
After splitting a SnpSet
object by chromosome, for instance,
this function will reproduce the original object from the list.
unsplitSnpSet(from, annotatedDataFrame, ...)
from |
A list . Element should be one of the SNP classes
extending eSet |
annotatedDataFrame |
Object of class AnnotatedDataFrame that
contains the featureData prior to splitting. See the
example. |
... |
arguments to initialize an instance of the class |
an object of class class(from[[1]])
Robert Scharpf
data(sample.snpset) x <- split(sample.snpset, chromosome(sample.snpset)) class(x) length(x) ## Not run: xx <- unsplitSnpSet(x, featureData(sample.snpset), copyNumber=do.call("rbind", lapply(x, copyNumber)), calls=do.call("rbind", lapply(x, calls)), cnConfidence=do.call("rbind", lapply(x, callsConfidence)), callsConfidence=do.call("rbind", lapply(x, callsConfidence))) xx ## End(Not run)