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

create spatial object from nono-10x data #4993

Closed
cadyyuheng opened this issue Aug 24, 2021 · 1 comment
Closed

create spatial object from nono-10x data #4993

cadyyuheng opened this issue Aug 24, 2021 · 1 comment

Comments

@cadyyuheng
Copy link

Hello,

I'm also trying to create a spatial Seurat from scratch. While your hints in #3595 are quite straightforward to me for the term image and coordinates. However, I still don't quite get what scale.factors are other than it is a separate object. As I look into scalefactors function, I noticed scalefactors is defined by spot, fiducial, hires, and lowres values. From the doc, I don't fully understand what those values mean and how I could generalize them for my own data and image. Would you mind elaborating a bit more? I really appreciate your help!

@mojaveazure
Copy link
Member

mojaveazure commented Sep 17, 2021

Sorry for the late response. The scale factors serve as a link between the coordinates and the image data. There are four scaling factors that 10X provides, but we generally only use the lowres factor. If you're using your own, non-10X data, simply create a fake scalefactors object with scalefactors, making sure that you use the correct factor for lowres. If you coordinates match 1:1 with your image, then your lowres scale factor would be 1

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