CNA(genomdat, chrom, maploc, data.type=c("logratio","binary"), sampleid=NULL, presorted = FALSE) "print"(x, ...)
CNA
. There is a print
method that
gives the number of samples and probes and the type of data.
If the chrom variable has non-numeric values make it into an ordered
variable to get them ordered correctly. E.g. for human genome use:
chrom <- ordered(chrom, levels=c(1:22,"X","Y"))
to prepare the
variable if chromosomes X and Y are present in your data.
data(coriell)
#Combine into one CNA object to prepare for analysis on Chromosomes 1-23
CNA.object <- CNA(cbind(coriell$Coriell.05296,coriell$Coriell.13330),
coriell$Chromosome,coriell$Position,
data.type="logratio",sampleid=c("c05296","c13330"))
Run the code above in your browser using DataLab