Code Monkey home page Code Monkey logo

baysoranalysis's Introduction

BaysorAnalysis

Analysis for the Baysor paper. See the Baysor package and the pre-print.

This code base is using the Julia Language and DrWatson.

To (locally) reproduce this project, do the following:

  1. Download this code base. Notice that raw data are typically not included in the git-history and may need to be downloaded independently.
  2. Open a Julia console and do:
    julia> using Pkg
    julia> Pkg.activate("path/to/this/project")
    julia> Pkg.instantiate()
    

This will install all necessary packages for you to be able to run the scripts.

Visualization of the results

baysoranalysis's People

Contributors

vpetukhov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

baysoranalysis's Issues

About the dapi dataset

Hi, I'd like to inquire if it's possible to provide the dapi images inside your example, including osmFISH and MERFISH data, or can you tell us how to get it. Thank you!

Reproducing `segmentation_free_allen_smfish` notebook

Hi,

To run on the data, https://github.com/kharchenkolab/BaysorAnalysis/tree/master/data, do you have instructions on how to run baysor on these samples? I am unable to reproduce the figures from https://github.com/kharchenkolab/BaysorAnalysis/blob/master/notebooks/segmentation_free/segmentation_free_allen_smfish.ipynb

Thanks!

How to quickly select the area to plot?

Hi team!
Fantastic work! I was able to run baysor on my data and get the expected output. I just have one simple question.
When you select the area to plot, how you decide the coordinates to select?

subset_coords = [
    ((-2872, -2822), (-2371, -2300)), 
    ((-2820, -2770), (-2300, -2325)),
    ((-2715, -2665), (-2350, -2275)),
    ((-2400, -2300), (-2750, -2600)),
    ((-2410, -2310), (-3225, -3075))
];

plt = B.plot_dataset_colors(@where(df_spatial, :x .>= -3180, :x .<= 800, :y .<= 3410, :y .>= -2370), :color, polygons=polygons, min_molecules_per_cell=50,
    min_pixels_per_cell=7, polygon_alpha=0.5, ms=1.0, polygon_line_width=1.5, ticks=false)[1];

for ((xs, xe), (ys, ye)) in subset_coords
    plt = Plots.plot([xs, xs, xe, xe, xs], [ys, ye, ye, ys, ys], color="black", label="", lw=4.0, alpha=0.75)
end

@time Plots.savefig(plt, "$plot_dir/polygons.png");
display(plt)
Plots.closeall()

Sorry for this silly question because I have very limited coding skill on Julia.
Thanks for developing this tool
Zhang

Issues Accessing Baysor from Terminal After Julia Installation

Hello,

I've installed Baysor using Julia inside a Docker container, but I'm having trouble accessing it directly from the terminal. While Docker works, it's a bit complex, and I'd prefer to use Julia directly. Even when navigating to the directory where Julia is stored, I can't seem to open Baysor. Could you guide me on how to set the correct path or any other solution?

Thanks for your assistance.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.