Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error during loom export from SCENIC #37

Open
jeremycfd opened this issue May 25, 2022 · 0 comments
Open

Error during loom export from SCENIC #37

jeremycfd opened this issue May 25, 2022 · 0 comments

Comments

@jeremycfd
Copy link

Hello, I've been running SCENIC in R successfully but running into problems with exporting the results in loom format, which is the format utilized in the tutorials for downstream analyses of the SCENIC results. Specifically, I'm hitting the hard threshold of 245 unique values in column attributes, but I'm unable to figure out exactly what that means, or how to reduce those column attributes, or how to export the data in a different manner.

export2loom(scenicOptions, exprMat)

The folowing cell metadata will be added:
                     type
orig.ident      character
nCount_RNA        numeric
nFeature_RNA      integer
Analysis        character
Library         character
GexCellLong     character
percent.mito      numeric
S.Score           numeric
G2M.Score         numeric
Phase           character
old.ident       character
nCount_SCT        numeric
nFeature_SCT      integer
SCT_snn_res.0.8    factor
seurat_clusters    factor
Samp            character
Px              character
SampNum         character
[1] "Adding global attributes..."
[1] "Adding matrix..."
  |======================================================================| 100%[1] "Adding column attributes..."
[1] "Adding default metrics nUMI..."
[1] "Adding default metrics nGene..."
[1] "Adding default embedding..."
[1] "Adding row attributes..."
[1] "Adding columns graphs..."
[1] "Adding row graphs..."
[1] "Adding layers..."
Error in add_col_attr(loom = loom, key = cn, value = cellInfo[, cn], as.annotation = isAnnotation,  :
  Cannot add column attribute as an annotation with more than 245 unique values.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant