CreateAssayObject function

Create an Assay object