added replicate to biodata_transform