File tree Expand file tree Collapse file tree 3 files changed +11
-9
lines changed Expand file tree Collapse file tree 3 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 11name = " ClusterDepth"
22uuid = " c8d8bbfa-f476-4995-adff-2987f04015d1"
33authors = [" Benedikt V. Ehinger" , " Maanik Marathe" ]
4- version = " 0.2.1 "
4+ version = " 0.2.3 "
55
66[deps ]
77Random = " 9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
Original file line number Diff line number Diff line change @@ -103,4 +103,3 @@ ax.xlabel = "time";
103103ax. ylabel = " channel" ;
104104Colorbar (fig[:, end + 1 ], hm);
105105fig
106- loopvectorization
Original file line number Diff line number Diff line change @@ -26,20 +26,23 @@ function clusterdepth(
2626 rng,
2727 data:: AbstractArray ;
2828 τ= 2.3 ,
29- stat_type= :onesample_ttest ,
30- perm_type= :sign ,
31- side_type= :abs ,
32- nperm= 5000 ,
33- pval_type= :troendle ,
34- (statfun!)= nothing ,
35- statfun= nothing ,
29+ stat_type = :onesample_ttest ,
30+ perm_type = :sign ,
31+ side_type = :abs ,
32+ nperm = 5000 ,
33+ pval_type = :troendle ,
34+ (statfun!) = nothing ,
35+ statfun = nothing ,
36+ permfun = nothing ,
3637)
3738 if stat_type == :onesample_ttest && isnothing (statfun!) && isnothing (statfun)
3839 statfun! = studentt!
3940 statfun = studentt
4041 end
4142 if perm_type == :sign
43+ if isnothing (permfun)
4244 permfun = sign_permute!
45+ end
4346 end
4447 if side_type == :abs
4548 sidefun = abs
You can’t perform that action at this time.
0 commit comments