as.ChromatinAssay function

Convert objects to a ChromatinAssay