Skip to content

Error in sparse.model.matrix when only one unique transcript is in the matrix #549

@lingminhao

Description

@lingminhao

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.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions