The smooth function is applied to every row in the normalized matrix. For this default smooth function,
locfit is first tried on the vector. If there is error, loess smoothing is tried afterwards.
If both smoothing are failed, there will be an error.