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

counts_matrix_from_assay() function doesn't exist #32

Closed
AmyOlex opened this issue Jan 23, 2024 · 2 comments
Closed

counts_matrix_from_assay() function doesn't exist #32

AmyOlex opened this issue Jan 23, 2024 · 2 comments

Comments

@AmyOlex
Copy link

AmyOlex commented Jan 23, 2024

In the README for this package there are the following lines to extract the count data for the create_loupe() function:

# get counts matrix from either the old or newer formats of assay
counts <- counts_matrix_from_assay(assay)

However, after loading the LoupeR package it says this function doesn't exist. In the tutorials the following is utilized, which does work:

# Get the count matrix from a Seurat object:
count_mat <- seurat_obj@assays$RNA@counts

@esiegel
Copy link
Collaborator

esiegel commented Jan 31, 2024

What version of loupeR do you have installed? This function was added here #23, but there hasn't been a new release since. You would have to install the latest version to get this function.

remotes::install_github("10XGenomics/loupeR")
loupeR::setup()

I will make a new update shortly.

@esiegel
Copy link
Collaborator

esiegel commented Jan 31, 2024

Releae v1.0.2

@esiegel esiegel closed this as completed Jan 31, 2024
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

2 participants