def genReplicateData(infile, outfile): """ Split each replicate into a separate file for clustering within each replicate. Relies on each replicate being the same across the whole time series. """ outdir = outfile.split("/")[0] Timeseries.splitReplicates(infile=infile, axis="column", group_var="replicates", outdir=outdir) P.touch(outfile)
def genReplicateData(infile, outfile): ''' Split each replicate into a separate file for clustering within each replicate. Relies on each replicate being the same across the whole time series. ''' outdir = outfile.split("/")[0] Timeseries.splitReplicates(infile=infile, axis="column", group_var="replicates", outdir=outdir) P.touch(outfile)