Skip to content

scale.factors or spatial.factors? #444

@ozcelikelif

Description

@ozcelikelif

In the tutorial https://htmlpreview.github.io/?https://github.com/jinworks/SpatialCellChat/blob/master/tutorial/SpatialCellChat_analysis_of_spatial_transcriptomics_data.html the cellchat object is created using spatial.factors which includes conversion.factor and tol parameters. This parameter does not exist in the function createCellChat anymore. I am guessing this parameter is updated by scale.factors which now requires other things then ratio and tol, which is what we were putting inside spatial.factors in the tutorials posted.

Error in createCellChat(object = data.input, meta = meta, group.by = "labels", :
scale.factors with elements named spot.diameter and spot should be provided!

Could you please clarify what this change is and now where are we providing the ratio/tol or how are you doing the pixel to micron conversion if not asking for the conversion rate?

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