Create applyTransform.R