cDNAdata(data.vect,cdnalength,datasize,ng,nrep)cdnalength genes for analysiscdnalengthq and then
subsequently transformed.data.vectdata.vectng genes',
then the second replicate of all of the ng genes in the
same order, and so on.
This function first puts the one dimensional data.vect into
a matrix form with ng rows and nrep columns (so the
row number indices the gene and the column number the replicate).
Then the first cdnalength rows are extracted and kept, the remaining
rows are discarded.
Then datasize rows at random are extracted and kept and
the remaining rows are discarded.