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

fix format #7

Merged
merged 9 commits into from
Jun 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/src/examples/ExampleAnalysis.jl
Original file line number Diff line number Diff line change
Expand Up @@ -187,4 +187,4 @@ highly variable genes that can be used for analysis. We again here demonstrate i
`Muon.AnnData`.
=#

adata = readstereoseqbinned(AnnData, stereoseq_file, 50)
adata = readstereoseqbinned(AnnData, stereoseq_file, 50)
2 changes: 1 addition & 1 deletion src/GridCount.jl
Original file line number Diff line number Diff line change
Expand Up @@ -160,4 +160,4 @@ function totalrna(counts)
return sparse((reduce(vcat, i) for i in (x, y, v))..., gridsize(counts)...)
end

end # module GridCount
end # module GridCount
2 changes: 1 addition & 1 deletion src/IO.jl
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,4 @@ function readstereoseqbinned(file, binsize::Integer)
)
end

end # module IO
end # module IO
2 changes: 1 addition & 1 deletion src/KDE.jl
Original file line number Diff line number Diff line change
Expand Up @@ -231,4 +231,4 @@ function assigncelltype(counts, signatures, kernel; celltypes=nothing, log=false
return celltypemap, cosine
end

end # module KDE
end # module KDE
2 changes: 1 addition & 1 deletion src/LocalMax.jl
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,4 @@ function getlocalmaxima(counts, localmax, kernel; genes=nothing)
)
end

end # module LocalMax
end # module LocalMax
2 changes: 1 addition & 1 deletion src/Utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ end
stringcoordinates(x, y) = @. string(x) * "_" * string(y)
stringcoordinates(x...) = [join((string(j) for j in i), "_") for i in zip(x...)]

end # module Utils
end # module Utils
2 changes: 1 addition & 1 deletion test/kde.jl
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ end
coords = map(CartesianIndex, [(1, 1), (2, 3), (2, 4)])

Sainsc.LocalMax.getkdeforcoordinates(counts, coords, kernel) == kdeatcoord
end
end
2 changes: 1 addition & 1 deletion test/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ end
x, y = Int[0, 0, 1, 0, 1], Int[0, 1, 0, 0, 1]
@test Sainsc.Utils.categoricalcoordinates(x, y) ==
([1, 2, 3, 1, 4], ([0, 0, 1, 1], [0, 1, 0, 1]))
end
end
Loading