modified analysis R code file. modified data processing recipe for dhk09