Calculate modalities of splicing events.
Bases: object
Use Bayesian methods to estimate modalities of splicing events
Initialize an object with models to estimate splicing modality
Parameters: | step : float
vmax : float
logbf_thresh : float
|
---|
Get the modality assignments of each splicing event in the data
Parameters: | data : pandas.DataFrame
|
---|---|
Returns: | modality_assignments : pandas.Series
|
Raises: | AssertionError
|
Bases: object
Object to model modalities from beta distributions
Apply switchy scores to a 2D array of data scores
Parameters: | x : numpy.array
|
---|---|
Returns: | score_order : numpy.array
|
Transform a 1D array of data scores to a vector of “switchy scores”
Calculates std deviation and mean of sine- and cosine-transformed versions of the array. Better than sorting by just the mean which doesn’t push the really lowly variant events to the ends.
Parameters: | array : numpy.array
|
---|---|
Returns: | switchy_score : float
|