The collapsible plugin has the following methods:
collapse
$( ".selector" ).trigger( "collapse" );
expand
$( ".selector" ).trigger( "expand" );