R project for FB analysis