when the dataset (usually small, e.g. simulated dataset), it is possible to have only one unique transcript. Then factor(x$txid) results in factor with only one factor, making sparse.model.matrix in bambu-assignDist.R fails because it requires at least two factor levels.

when the dataset (usually small, e.g. simulated dataset), it is possible to have only one unique transcript. Then
factor(x$txid)results in factor with only one factor, makingsparse.model.matrixinbambu-assignDist.Rfails because it requires at least two factor levels.