sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
258660edee450f4440283b64bfc48b1216c61584fd6747b96e1a3ad7fcbb2f3a | MATLAB | 2,210 | 74 |
clear
close all
clc
c = lines(7);
color(1,:) = [0 0 0];
color(2,:) = [.6 .6 .6];
color(3,:) = [.6 .3 .6];
color(4,:) = c(2,:);
figure('Units','normalized','OuterPosition',[.1 .1 .05 .2])
hold on
[p_matched,p_non,p_obs,p_obsonly] = prepare_for_barplot('discharge');
keepVars()
plotkon(p_obsonly, p_obs, p_non,color,1)... |
48796839550f005279013f90e5ad2bb7d200f60c74ac478902d3bad47cd029bd | MATLAB | 2,210 | 71 | function [eyeFeatureTrls, oriFeatureTrls, tiltOfOriFeature]...
= findTrialsForFeatures(STIM)
% Pull trials from STIM for use in Feature Selection Code
% Everything is in the first column bc BRFS format is [adapter STIM.suppressor]
% Find tils available in brfs trials
brfsTrls = find(~STIM.blank & strcmp(STIM.task... |
df94aea31e073e3a5e0996467db002add47ec9d378428bdfabb118f99a9cb42e | MATLAB | 2,211 | 101 |
function FS_tiff(videodata,varargin)
% FS_tiff
% Create multipage Tiff stack from the .mov files form the FreedomScope
% Created: 2016/02/12
% By: WALIII
% Updated: 2016/02/15
% By: WALIII
% FS_BatchDff_TM will do several things:
%
% 1. Create a grayscale mtif, called 'G.tif'
% 2. Creates a RGB mtif, ... |
be26c2d632f78fd3bcec97d405251525e0158b8162424137b3342a882e4fe7a0 | MATLAB | 2,217 | 51 | function ASLBASILanalysis(SUBJECT, locationASLlabelcontrolPLDNIFTI, locationM0, locationMask, outputmap, PLDlist, locationBASILinfo, artoff, spatialoff)
% ClinicalASL toolbox 2023, JCWSiero
PLDstring = sprintf('%.05g,' , SUBJECT.PLDS(PLDlist));
PLDstring = PLDstring(1:end-1);% strip final comma
if nargin >= 7
... |
91a4dfaaa6f55652829f6371d417c1d1ce9973ed6466e908832d4da11cf12a93 | MATLAB | 2,220 | 70 | %% Reconstruct data for all conditions
clear; clc;
t = 101:20:621;
evCrit = 0.5;
for m = 1:2
if m == 1
load(['Data_A_trial_fixation_ev' num2str(evCrit) '.mat']);
else
load(['Data_B_trial_fixation_ev' num2str(evCrit) '.mat']);
end
% firing rate
dataT = struct('unit',[],'time',[]);
... |
d4a9c63ff0248f76230430de4850f3ca2caeb7121cc492b211774c5831884682 | MATLAB | 2,223 | 87 | %% Remove Hot Spots
function [I, Imax, Imin] = MIRO_Hotspot(I,alpha,var,method)
%% Median filter
pad = [2, 2];
I1 = padarray(I,pad,'replicate','both');
I_med = medfilt2(I1);
I_med = removePad(I_med,pad);
I2 = I;
%% Hotspot removal
T = alpha.*sqrt(medfilt2(var)+I_med);
I2(abs(I-I_med)>T) = I_med(abs(I-I_med)>T);
I2(I... |
a5376b973c001f16d02562b763d433d21acce5c07bc2b89bd4bbedc5d9fee96b | MATLAB | 2,226 | 56 | function [pivot_vals, pivot_inds] = custom_round(pivots, arr, is_round)
% Function custom_round floors (or rounds) one array to the custom values of the other.
% Assumption: The arrays are sorted. Default: floor to lower pivot
%
% Inputs:
% pivots - (1xN array) - Array of pivot values that define the rounding gr... |
7bfaf265d4df7144890bce677e3a3a28c28886275c2688f710d2b546894f59ea | MATLAB | 2,230 | 42 | function [food_fixed, beam_fixed, air_fixed] = intrp_t_to_snr(food_timings, beam_timings, ...
airpuff_timings, ...
envs, snr_t_cellarr)
% function intrp_t_to_snr corrects the times of the all time arrays i... |
c8b066e4cc90fe3ee8469074a2d155abf3f2937b34a7ca6aa915cc9b7897bdc0 | MATLAB | 2,237 | 67 | load("timeseries.Yeo2011.mm316.mat");
for m = 1:316
subject_mx645 = corrcoef(transpose(subjects(m).mx645));
subject_mx1400 = corrcoef(transpose(subjects(m).mx1400));
subject_std2500 = corrcoef(transpose(subjects(m).std2500));
subject_mx645(24,:) = [];
subject_mx645(:,24) = [];
subject_mx14... |
9f3ccd633c209387c41e634e9e861b16b298f79875da21411d28aa6f59cdbf48 | MATLAB | 2,242 | 76 | function a = Spectral_filter(a,r1,r2,kmin,T,s,sampling,pad,is3D,sigma_z)
if is3D == 0
if kmin < T
a = padarray(a,pad,'replicate','both');
[X, Y] = meshgrid(1:size(a,2),1:size(a,1));
Xc = ceil(size(a,2)/2);
Yc = ceil(size(a,1)/2);
r = sqrt((X-X... |
cb00902ebbe1786621c2e4e951ebc129ba694ae88b17726ded10a5563524ed6a | MATLAB | 2,242 | 46 | % Copyright (C) Alex A. Bhogal, 2021, University Medical Center Utrecht,
% a.bhogal@umcutrecht.nl
% <importRAW: imports GEN3 RespirAct data >
%
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundat... |
01b9cc41deea81a5df764a146a1d05be7355a1f7a5674729c63ef4450c15f51d | MATLAB | 2,243 | 65 | function [sorted_weight, phase] = Aligment(Synaptic_weight, Env_track, k, phase, ...
n_ca3_per_track, M, s, use_gpu)
%{
Given a weight matrix, we want to subtract the activated neurons at the
environment n-k and align them according to the \Delta phase.
Parameters:
Synaptic_weight: Weight matrix
Env_tr... |
05580a3b331c47fe9ea3d2b36bec97b95e0586ece67a7fbc3b962afa55fe952f | MATLAB | 2,246 | 62 | function plotPopulationData_Fig04(Fig04)
%% READ ME
figure(41);
%% Colormap
colors=flip(Fig04.constants.colormap((1:4),:));
tempMap(1,:)=Fig04.constants.colormap(2,:);%NREM
tempMap(2,:)=Fig04.constants.colormap(4,:);%Active Awake
tempMap(3,:)=Fig04.constants.colormap(3,:);%Quiescence
tempMap(4,:)=Fig04.consta... |
38169e3dc5729e0aae2e1736508bf700840eae5fbc256a05e5a328a0e6cea761 | MATLAB | 2,248 | 63 | function comp = set(comp,varargin)
% SET Set Level_comp properties and return the updated object.
% Property names are:
% Sig_comp,Input_method, Static_value, Value_formula, Static_reps, Reps_formula,
% Seq_values, Seq_values_str, Coord_index, Index_formula, Wrap, Fixed_num_data, Sweep.
property_argin = varargin;
whi... |
c13ea755a02da6298deb0de60331d3526d5ed5871aeb032a519f32bc4bb2f93a | MATLAB | 2,252 | 52 | constants
options = odeset('RelTol',1e-4,'AbsTol',1e-4);
%% Choice of stimulation parameters
start_stim = 10; % [s] When to start the current stimulation
end_stim = 10; % [s] When to end it
f_stim = 1; % [Hz] At what frequency do you want the current pulses to be?
TMAX = 10; % [s] Until... |
80b9537e4476b60f7ad99e6ac08e00b875549cbcec452b284aa8d4656bf41f96 | MATLAB | 2,253 | 59 | function samp_points=synth(handles,trial_index)
% SYNTH is BEHAVIOR synth function.
% SAMP_POINTS=SYNTH(HANDLES,TRIAL_INDEX) Samples the signal
% according to the given SAMP_RATE and TRIAL_DUR. Returns the sampled
% points.
stimlist = handles.stimlist;
type = char(stimlist.T{trial_index,'type'});
paramline = stimlist.... |
6e3e63c4aea67716209a43e81c45f2bd01ed883f18cf464e22833276bc4c5ea0 | MATLAB | 2,257 | 56 | %%% Parameters of model %%%
c = .5; %contrast
sigma = .5; %semisaturation constant
sigma_opp = .9; %semisaturation constant for opponency cells
p.varNoise = 0.05; %noise intensity
p.varImpResp = 500; %temporal correlation of OU noise (ms)
p.s = [sigma,sigma,si... |
1136421854d10f96ab296b9d90adcf4caea49f3db77448f5b1bf24f5541da479 | MATLAB | 2,261 | 68 | function SaveDataNII(data, outputfilenm, dummyfilenm, scaleslope, datarange, TR)
% TR is s
data_info = niftiinfo(dummyfilenm); % read metadata nifti for saving nifti with same header
if isfloat(data)
data_info.Datatype = 'double';
data_info.raw.datatype = 'FLOAT64';
data_info.BitsPerPixel = 64;
da... |
ba2a8a4a2949881a92151a93a4e1400d996a5d506a3f1897e38497596729b2b8 | MATLAB | 2,264 | 76 | function [d, h] = densityScatter(X,param)
%
% function [d, h] = densityScatter(X,param)
%
% Authors:
% (c) Matthias Chung (e-mail: mcchung@vt.edu) in April 2016
%
%
% MATLAB Version: 8.6.0.267246 (R2015b)
%
% Description:
% Create scatter plot of data and generates vector of density value for
% each... |
1ccee6e3000d8a0da1ac490a77f5ea210aeb61edc94a7ed6108fe531d381dc4f | MATLAB | 2,271 | 85 | function [exp1, exp2] = makeLaserGapThresholdExp(gapDurations, delays, trialFac, ...
shamTrialFac)
%MAKELASERGAPEXP creates an experiment with gap stimuli and intervined
%laser stimulation.
% Arguments (defaults in square brackets):
% gapDurations - an array of the set of gap durations
% delays - an array of ... |
17e856edb2689646b74bb2d7b806b19dbe8288b82281f07f0727a7b7e2940d29 | MATLAB | 2,278 | 68 | % perfom SVM and return AUCs
function [aucs, xs, ys, tf] = svmAUC (indata, outdata, crossN)
t = templateSVM('BoxConstraint', 1, 'KernelFunction', 'gaussian', 'KernelScale', 3.3, 'Standardize',1); % 2.8 in the app
CVMdl = fitcecoc(indata, outdata, 'Learners', t, 'Kfold', crossN); % 'FitPosterior', 1, needed for... |
a18a35ee9548689f1e863b4eec3bd79cb18b3ac57a315e19e445a81a396e9890 | MATLAB | 2,278 | 50 | function NA_data = mean_reduce_16x2_raw_data(NA_data, is_new_layout)
% Function mean_reduce_16x2_raw_data() removes correlated noise from 16x2 recording, as done by
% the dual shank Campbridge Neurotech array.
%
% Inputs:
% NA_data -(Nx32 matrix, double) - The NA data, after conversion to doub... |
0ffba25fdc4ecbdb3628695771389ee6e011c4933876cac14ed8e789e8263eea | MATLAB | 2,280 | 49 | %needs to create a .txt log file with any composite info, masks and data
%info, ez_seg_poaram info, and object_class info
function write_log(pipeline_data)
point_paths = keys(pipeline_data.points.pathsToPoints);
pt_path = point_paths{1};
% save log file with object name, open for editing
% sav... |
952fd847b187fa4c3ab6b722a6868f2d15a19f9200959521bd04ec4f7b427855 | MATLAB | 2,287 | 55 | function backup_old_KS_outputs(curr_exp_dir)
% Looks for existing Kilosort outputs from previous runs and moves them
% to a backup location. This prevents the mixture of outdated clusters with
% the new results.
% Only 3 files are omitted, since they are sometimes reused by Kilosort
% between... |
fb9a0ca21d216bde8c2d8c97e7a05087bb4a8113011db0874719be2216e924e1 | MATLAB | 2,287 | 81 | function type = OutputCommand(toReward)
%food = 1, water = 2, airpuff = 3
if strcmp(toReward.state,'go')
switch toReward.beamind
case 1 %infood1
type = 1;
chanid = 'Port1/Line0:0';
case 2 %inwater1
type = 2;
chanid = 'Port1/Line2:2';
case 3 %i... |
4b52b65328a9792ff4011565630cfb5ec833ab9488f566896d6629ca68e8e8ce | MATLAB | 2,296 | 51 |
figure;
%% Heatmaps of mean GCaMP6s fiber photometry signals from ACCCAMKII neurons during pup gathering events in sires (n = 6).
%The left panel is a heatmap of data aligned to the pup contact. Each row is the mean activity across all mice for each of 6 days.
%The right panel shows the same signals aligned to the ... |
f1a6a13e526e2a94531bd3d06644b47be5486f6b8ed994193c67477feed0bf12 | MATLAB | 2,296 | 51 |
figure;
%% Heatmaps of mean GCaMP6s fiber photometry signals from ACCCAMKII neurons during pup gathering events in dams (n = 7).
%The left panel is a heatmap of data aligned to the pup contact. Each row is the mean activity across all mice for each of 6 days.
%The right panel shows the same signals aligned to the e... |
01751cd266e67dab04d3aa3e43c3ec872d06dc311e0c3b4ad926930550b5a351 | MATLAB | 2,306 | 65 | function [Xc,Z]= airPLS(X,lambda,order,wep,p,itermax)
% Baseline correction using adaptive iteratively reweighted Penalized Least Squares;
% Input
% X:row matrix of spectra or chromatogram (size m*n, m is sample and n is variable)
% lambda: lambda is an adjustable parameter, it can be adjusted ... |
02a9918a28b76769d8654abffcc41114f0f545402c6fae347952672b127c66bd | MATLAB | 2,307 | 81 | classdef (Abstract) PsychPortAudioPlayer < AudioPlayer
%PSYCHPORTAUDIOPLAYER is a PsychPortAudio implementation of AudioPlayer.
% This abstract class can be used as starting point to PsychPortAudio
% implementations of AudioPlayer. It wraps initialization code of
% PsychPortAudio to create a class with a proper i... |
2750c348a1af46594072046a66b761a84f1f1134a69ccb8630bc4e485c865b19 | MATLAB | 2,315 | 77 | function [img, interx, intery, interz] = loadSdt(filename)
[junk file_len] = size(filename);
if filename(file_len-3:file_len)== '.sdt' | filename(file_len-3:file_len)== '.spr'
newfilename = filename(1:file_len-4);
else
newfilename = filename;
end
[fid message] = fopen([newfilename, '.spr'],'r');
... |
922393a070e4af11b2a1244ed4f6c28effa8de406ae6cbbf7e02e9702aa5771d | MATLAB | 2,317 | 63 | % Copyright (C) Alex A. Bhogal, 2021, University Medical Center Utrecht,
% a.bhogal@umcutrecht.nl
% <demeanData: subtracts the mean value of each voxel timeseries >
%
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free ... |
04d3024a244e9a08c27edd27ac98ee922fa6e6a32cf6ffd60157fb55fba67287 | MATLAB | 2,318 | 70 | load("timeseries.Yeo2011.mm316.mat");
for m = 1:316
subject_mx645 = corrcoef(transpose(subjects(m).mx645));
subject_mx1400 = corrcoef(transpose(subjects(m).mx1400));
subject_std2500 = corrcoef(transpose(subjects(m).std2500));
subject_mx645(24,:) = [];
subject_mx645(:,24) = [];
subject_mx14... |
c347b9d48c0813ef8dae5360f855ddb40a341a0f1bee9a4023330d1673b0ba64 | MATLAB | 2,330 | 27 | function ASLT1Registration(SUBJECT, prefix)
% ClinicalASL toolbox 2023, JCWSiero
% Register ASL T1fromM0 to T1 anatomy
system([' flirt -in ' SUBJECT.ASLdir prefix '_T1fromM0 -out ' SUBJECT.ASLdir prefix '_T1fromM0_2T1 -ref ' SUBJECT.ANATOMYdir 'T1_brain -omat ' SUBJECT.ASLdir prefix '_ASL_2T1.mat -cost mutualinfo... |
a9429f969e0b3b97ed291ec5b99073a1c3095dca1e9c70e4e5b801eec1cc7bc1 | MATLAB | 2,335 | 34 | function [SUBJECT] = ASLExtractParamsDICOM(SUBJECT, filename)
% ClinicalASL toolbox 2023, JCWSiero
tic
disp(' Reading DICOM info... ')
info = dicominfo(fullfile(SUBJECT.DICOMdir, filename));
elapsedTime = toc;
disp(['..this took: ' num2str(round(elapsedTime)) ' s'])
%%%%% 3. Scan information %%%%%%%%%%%%%%%%... |
ec2f545d7d65baa7cb90013a6b9a243ad1d2c0255e258cb371ce63e7d3c7fc4c | MATLAB | 2,337 | 26 | function ASLMNIRegistration(SUBJECT, prefix)
% ClinicalASL toolbox 2023, JCWSiero
% Register ASL T1fromM0 to MNI 2mm anatomy
system(['flirt -in ' SUBJECT.ASLdir prefix '_T1fromM0 -out ' SUBJECT.ASLdir prefix '_T1fromM0_2MNI -ref ' SUBJECT.MNIdir 'MNI_T1_2mm_brain -omat ' SUBJECT.ASLdir prefix '_ASL_2MNI.mat -cost co... |
d06e945bbf06cfc3d7f9f33645743e14e6f9b6379cecef6d5ae8ef1e287335ea | MATLAB | 2,344 | 73 | function behavior_sound_responses(sounds_table, data_folder, out_folder)
spiketime_files = dir(fullfile(data_folder, 'ch_*_spiketimes_snr.mat'));
channels_to_run = [];
for i = 1:length(spiketime_files)
num = str2double(spiketime_files(i).name(4:5));
channels_to_run = [channels_to_run num];
end
pre_trigger_... |
74802da02afce0025c4215917edc93656a5b6fefaac1de549f3bc5c6be8190bc | MATLAB | 2,359 | 70 | function [T,R] = calibrateGroundPlaneOnFloor(groundMarkers)
%Calculate lengths of triangle lengths to work out which markers are which sides
d12 = norm(groundMarkers(:,1) - groundMarkers(:,2));
d23 = norm(groundMarkers(:,2) - groundMarkers(:,3));
d31 = norm(groundMarkers(:,3) - groundMarkers(:,1));... |
52c00de15c2ddefb25f529de2cd76614de63a278da5593d655780b3e76529a81 | MATLAB | 2,367 | 70 | function [vol group] = micca(input,mask,outdir,thresh)
%
% [vol group] = micca(input,mask,outdir,[thresh])
%
% creation du repertoire de sortie
if ~exist(outdir,'file')
mkdir(outdir)
end
%% lecture des fichiers d'entree
input = dataset('file',input,'readvarnames',false);
mask = dataset('file',mask,'readvarnames',f... |
96a23643e89beb2c4b73d712d6ad8ae132aded22011d0823c1fa94e3223a933b | MATLAB | 2,367 | 96 | function objects = plot_short_time(ax1, ax2, param, trials, loc, tab_bhv, zones, ...
start_time, annotate)
ax = ax1;
ax.FontSize = param.fontsize_ax;
axes(ax)
hold on
ax.YLim = pi * [-1 1];
ax.Color = 'w';
if annotate
ax.YLabel.String = {'Angular position', '[degrees]'};
ax.YLabel.FontSize = param.fontsiz... |
2e26a367cc88cb54779ef15d14a0ea214532d9393a47eb9531d737c8936f457b | MATLAB | 2,369 | 77 | %% This scripts loads cortical thickness values for each subject and resamples them for functional resting-state networks
% (Yeo et al., 2011; https://doi.org/10.1152/jn.00338.2011)
%
% Written by Christina Stier, 2022
% load surface description for remapping from suma vertex-resolution to yeo-networks
load('/home/un... |
2e20812d1dc2e3bb1879974c12b5faacd201c1e86a3d28084d7543b0c58a18e9 | MATLAB | 2,374 | 95 | function [SpcTimeVector,F,SpcContactAvg] = ...
plotSpectrogramFullContactAvg(IDX,ConditionToTest)
conditionTable = IDX.allV1(1).condition;
conditionName = conditionTable.Properties.RowNames{ConditionToTest};
titleText = {'FullContactAvg',conditionName};
% Average across contacts
travg_spc = nan(size(IDX.allV1,2)... |
ec90059febdd717b5ee806249f685f523871fff9bfc6f328cb66ccd3cd7c4449 | MATLAB | 2,374 | 67 | function [] = tif2mpeg()
%
% TIF2MPEG Function that transform .gif file with multiple frames into
% MPEG-4 movie with number of the frame printed in the corner.
% The movie can be RGB or Grayscale
%
% Params:
% frameRate - frames / sec.
%
% Usage Example:
% >>
[inputFile, path] = uigetfile('*.tif... |
f54a53b487c018c019b15525f6ce091d1632dfbdffa9092093371f2fadbdb948 | MATLAB | 2,375 | 87 | function FS_FormatInscopix
% FS_FormatInscopix
% Parse Data from old data formats into FreedomScope forma
% Created: 2017/08/09
% By: WALIII
% Updated: 2017/08/09
% By: WALIII
% FS_AV_parse will do several things:
%
% 1. Seperate Audio and Video, and place them into .mat files in a .mat
... |
0ad0fe963b76dabcd288e079f148d5a6290a0578e3b59e69ee2a3e3bd67403f7 | MATLAB | 2,378 | 76 | function gramm_2x2_line(IDX)
%% Goal
% use gramm and plot the simultaneous congruent, incongruent, and monoc
% preferred.
% line plots using "methods for visualizing repeated trajectories"
%% Initial variables
conditNameForCC = IDX.allV1(1).condition.Properties.RowNames;
TM = IDX.allV1(1).TM(1:560);
clear DataForVis... |
e53149f731779998e0c782539d1d2081cfc1adae4e2a20468199f1398632e081 | MATLAB | 2,381 | 49 | function [observed_average_firing,shuffle_firing_threshold,shuffled_average_firing] = compute_tuning_cells(calcium_data,calcium_time,calcium_fps,...
behav_data,behav_time,behav_fps,...
nrand,percentile_threshold)
% ... |
871355e162a32ef96b5b85dc30270436d20d1157799f9e98b0729702deef048c | MATLAB | 2,388 | 67 | function [valid_flag,err,is_formula]=check_if_legal(comp,prop,val,def_arr,var_arr)
% CHECK_IF_LEGAL checks the legacy of the given val as a ETime_comp-object property.
% [VALID_FLAG,ERR,IS_FORMULA]=CHECK_IF_LEGAL(COMP,PROP,VAL,DEF_ARR,
% VAR_ARR) checks that VAL is a legal value for the ETime_comp-object property-... |
316f7813475717599a4d9bb8d0aa840dda99db305ac31ccb13a3fde2dbe7d84c | MATLAB | 2,391 | 90 | % GET_MIXER_PARAMS returns right setting for the mixer in order to select
% the right channels for each ear.
% {R_CONNECT,R_SELECT,L_CONNECT,L_SELECT]=GET_MIXER_PARAMS(RUN_LINE)
% retruns the right values for the connect and select tags in the rpvds
% circuits (R_CONNECT,R_SELECT for RPX2's circuit and
% L_CONNECT,L_SE... |
177868a05aa43c47100ce5848102809e10317952be515388bbd380a49f6f33c1 | MATLAB | 2,395 | 53 | function out = gason( in )
% Convert between JSON strings and corresponding JSON objects.
%
% This parser is based on Gason written and maintained by Ivan Vashchaev:
% https://github.com/vivkin/gason
% Gason is a "lightweight and fast JSON parser for C++". Please see the
% above link for license informa... |
cda172ec7e0b4edd2fc8ad81fb7a785062ffe88fa49824ee374b57b230f753b1 | MATLAB | 2,408 | 68 | function [NA_db, NA_mdata, NA_raw_db, NA_big, NA_ch_num] = load_NA(exp_beh_part_dir, do_load_NA_big)
% Function load_NA() reads the neural activity (NA) that is produced by the Kilosort2 wrapper,
% in the ks_output folder, inside the experiment folder.
%
% Inputs:
% exp_beh_part_dir - (str) -... |
d2a9b39373f88fb8a19295b46abc9d1486c78e4a0578c299ed5d4d9349b4e34d | MATLAB | 2,408 | 78 | function SaveFIGUREtoPNG(data, mask, datarange, outputloc, suffix, label, COLORMAP, blackfont)
% ClinicalASL toolbox 2023, JCWSiero
% CBF or CVR map for different COLORMAPS: Crameri et al, "Misuse of colour in science communication' Nat. Comm 2020
% options are for example 'Viridis' (blue to yellow, converging map... |
89abfb0015d9728e0379454b114ec823623f49f023d3570cb1ab8fb9ab310c3e | MATLAB | 2,413 | 98 | %**************************************************************************
%**************************************************************************
%
% MinCE is a function for thresholding using Minimum Cross Entropy
% The code calculates
%
% input = I ==> Image in gray level
% output =
% I1 ... |
7c3f9c6aa4bc8695b92ce7c3ea5cc33ea88a15eb4424cd300abb109ae3034a6c | MATLAB | 2,416 | 49 | % Authors : Tatjana Schmitt & Simon Wadle 2019-2022
function [stimulus_responses_zscore, stimulus_responses_meanact] = tone_evoked_activity(dF_F_image_resized, time_points, z_score_threshold)
% function needs start and end times, dF_F_res. image, start and end times
[x_pixels, y_pixels, ~]= size(dF_F_image_r... |
09c7f1e84886e71f9e011b8ee7e9ed420bdb4ee3f2bd98fa807a8c84ea7b0b44 | MATLAB | 2,417 | 54 | % Copyright (C) Alex A. Bhogal, 2021, University Medical Center Utrecht,
% a.bhogal@umcutrecht.nl
% <wDenoise: a wrapper function to perform wavelet-based denoising using the MATLAB wavelet toolbox >
%
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General P... |
9e94a6f530bf9532de35387daaeba879d8f4d61bd10d5048533ac80cfd534c37 | MATLAB | 2,420 | 64 | function adaptedFAPlot(obj,modelName, pred)
%% adaptedFAPlot
% Specilized function deviating from what is plotting in dataModelling.m
% as here there is False Alarms in the ITI are independent of the coherence
% level (as we defined them as before target onset). Run within dataModelling.m.
% This automatically add... |
6047564bc5a29e0803938f06770860889d05fbff4e8e84b78cb4b159bf5d10fb | MATLAB | 2,423 | 70 | function [valid_line,err_msg]=check_if_valid(line)
% CHECK_IF_VALID checks the validity of the line.
% [VALID_LINE,ERR_MSG]=CHECK_IF_VALID(LINE) checks the validity of the line
% returns 1 if valid and 0 otherwise (through VALID_LINE). If the line is
% invalid, then ERR_MSG will hold the error message for which the Li... |
e9fced4909c34119d52b7b0a73c1e7aa93cc27b1b61e56110b6693ea4bea311f | MATLAB | 2,423 | 67 | function [valid_flag,err,is_formula]=check_if_legal(comp,prop,val,def_arr,var_arr)
% CHECK_IF_LEGAL checks the legacy of the given val as a Phase_comp-object property.
% [VALID_FLAG,ERR,IS_FORMULA]=CHECK_IF_LEGAL(COMP,PROP,VAL,DEF_ARR,
% VAR_ARR) checks that VAL is a legal value for the Phase_comp-object property-... |
380c5bcc8955c7fbfb0c17e7daae0488ce5f0b60cf751a4c64449c6116c8d75c | MATLAB | 2,435 | 59 | %---------------------------------------------------------------%
% This is the main script for getting the list of 1's and 0's %
% for correct and incorrect trials for each epoch using a %
% state-space model -- Wenbo Tang (Jan 05, 2023) %
%-------------------------------------------------------... |
85ce79e3e450c67ad67cb7d4b1076e4b67d660284c80d8ac2421ddb7693e4c55 | MATLAB | 2,438 | 79 | %% Reconstruct data for all conditions
clear; clc;
t = 101:20:621;
evCrit = 0.5;
for m = 1:2
if m == 1
load(['Data_A_trial_fixation_ev' num2str(evCrit) '.mat']);
load('tarDir_A.mat');
else
load(['Data_B_trial_fixation_ev' num2str(evCrit) '.mat']);
load('tarDir_B.mat');
end
... |
a31d5e21977e8b06643eb9de651053b4cd036508f8079bfb3877bfa014f13da0 | MATLAB | 2,447 | 67 | function [ IndexOutput ] = QueyranneAlgorithm( F, index )
% [ IndexOutput ] = QueyranneAlgorithm( F, Index )
%
% This function is an implementation of the Queyranne's algorithm for a
% symmetric submodular function F of the set Index.
%
% Input ---
% F: A function hundle, F( X ) is supposed a symmetric submodul... |
e3ef0f3bd8666962d180394d79b27b470d700c4f3068110a74a09983bf67f37b | MATLAB | 2,448 | 112 | function [ravg,rstd] = tdrMeanAndStd(data,avgpars)
% tdrMeanAndStd compute mean and std of responses
%
% Inputs:
% data: population response (sequential or simultaneous, see 'help tdr')
% avgpars.trial: logical indeces of trials/conditions to use [ntr 1] (def: all)
% avgpars.time: logical indeces of times to use [np... |
bb812eba34ab0fc5655a2145b3a59e04b8e48a788eab32fcd08c8d9c0b59eac4 | MATLAB | 2,451 | 113 | clear all;
close all;
%% ********************read tiff file********************
fname='C:\Users\Yuying Tan\Documents\Research\Cheng Lab\SRS imaging data\T cell\2018-08-28 fixed CD8 C75 study\Activated_CD8_7.tif';
info = imfinfo(fname);
num_images = numel(info);
for k = 1:num_images
hSRS_data(:,:,k) = imrea... |
c195c36a4646ee4ea638235717fb668a1ae9cdf6bd9a8dffc2bccd477bfbac88 | MATLAB | 2,454 | 78 | function adj_res()
close all
cam = videoinput('tisimaq_r2013', 2, 'Y800 (1280x960)');
src = getselectedsource(cam);
cam.FramesPerTrigger = 1;
cam.triggerrepeat = 100;
src.Exposure = 0.01;
start(cam);
pause((cam.triggerrepeat+10)*src.Exposure);
data = getdata(cam, 100);
... |
f002bbd17453249abe2048bcacdbeb8dfd494fe7a886346d05eb5d2474bc696e | MATLAB | 2,456 | 73 | function plot_raw_NA_overlay_spikes(final_db, mdata)
% === Load the first raw_data_file ====
f_name = mdata.first_raw_f_name;
raw_NA = load(f_name);
n_channels = size(raw_NA.data, 2);
h_f = figure();
h_ax = axes(h_f);
n_samples = 4*1e5;
% == Plot the raw NA - turned to double, mean-reduced ===
if strcmp(mdata.neural... |
12ea1def013a2f217b50ce87231875321964e48e579b1d417c1c552dc09269fe | MATLAB | 2,457 | 68 | function probs = data_to_probs(X, params, options)
%-----------------------------------------------------------------------
% FUNCTION: data_to_probs.m
% PURPOSE: Compute probability distributions for time series data X
%
% INPUTS:
% X: time series data in the form (units X time)
%
% params: parame... |
0d5bab38ff2ee7252019d24c1a2fd7d8d25604cb21309cb54f5ac92d4cfb14cf | MATLAB | 2,470 | 81 | function gramm_classIOTlaminar_line(IDX)
%% Goal
% use gramm and plot the simultaneous congruent, incongruent, and monoc
% preferred.
% line plots using "methods for visualizing repeated trajectories"
%% Initial variables
conditNameForCC = IDX.allV1(1).condition.Properties.RowNames;
TM = IDX.allV1(1).TM;
clear DataF... |
603cf30cad55b93f4a398385a7c908a4e69b93347def10db34498617ac34425a | MATLAB | 2,471 | 63 | % Copyright (C) Alex A. Bhogal, 2021, University Medical Center Utrecht,
% a.bhogal@umcutrecht.nl
% <import_Physio: imports GEN4 RespirAct data >
%
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Fou... |
e17d3cb354da349fd45b86d4aff228869175d7ce7e94cab245dc082cf3ce1e84 | MATLAB | 2,472 | 70 | function coeffs = SLsheardec2D(X,shearletSystem)
%SLsheardec2D Shearlet decomposition of 2D data.
%
%Usage:
%
% coeffs = SLsheardec2D(X,shearletSystem);
%
%Input:
%
% X: 2D data in time domain.
% shearletSystem: Structure containg a shearlet system. Such a system can
% be computed with SLge... |
e673ed76a12e77bd4042c1da01e3e8d46285514ad67fd18b2375e9312b058ae0 | MATLAB | 2,475 | 98 | function multi_fig_save(fighandle,save_dir,filename,formats,varargin)
%save in multiple formats in a single command
%
% multi_save(fighandle,save_dir,filename,formats)
%
%
%
%
%
renderer='painters';
res=300;
nparams=length(varargin);
if mod(nparams,2)>0
error('Parameters must be specified as parameter/value pairs')... |
15e0a215bb376f67df9c42dfa9c5b58df1f0888d65d3bf72874c35e173fe9e20 | MATLAB | 2,485 | 64 | function [valid_flag,err,is_formula]=check_if_legal(comp,prop,val,def_arr,var_arr)
% CHECK_IF_LEGAL checks the legacy of the given val as a Depth_comp-object property.
% [VALID_FLAG,ERR,IS_FORMULA]=CHECK_IF_LEGAL(COMP,PROP,VAL,DEF_ARR,
% VAR_ARR) checks that VAL is a legal value for the Depth_comp-object property-... |
8389c1a22341df063f8254a6431de336de47a089aaad50916ec8bed0e9a65c4e | MATLAB | 2,486 | 68 | function level=isodata(I)
% ISODATA Compute global image threshold using iterative isodata method.
% LEVEL = ISODATA(I) computes a global threshold (LEVEL) that can be
% used to convert an intensity image to a binary image with IM2BW. LEVEL
% is a normalized intensity value that lies in the range [0, 1].
%... |
a9e3089522f7407f30d9c41ea53c5c958e3e099123e9efd023de99de3d427606 | MATLAB | 2,490 | 131 | function showCase
% Example showing a variety of effects possible with notBoxPlot
%
% function NBP.showCase
%
%
% Purpose
% Showcase notBoxPlot
%
%
% No inputs or outputs
%
%
% Rob Campbell
W=which(['NBP.',mfilename]);
fprintf('Running example located at %s\n',W)
hFig=figure(1984);
set(hFig,...
'Name','notBo... |
264b4b0fa0685f491b3c11adbc3f15fb723d4a99ab19674a09a34126b14688c8 | MATLAB | 2,492 | 70 |
function level=isodata(I)
% ISODATA Compute global image threshold using iterative isodata method.
% LEVEL = ISODATA(I) computes a global threshold (LEVEL) that can be
% used to convert an intensity image to a binary image with IM2BW. LEVEL
% is a normalized intensity value that lies in the range [0, 1].
... |
0d6e558bde911a748ffafb28c892389778f8fae4feb73798b52ec7e21e4d6317 | MATLAB | 2,495 | 75 | function [lineOut, fillOut] = CIshade_flicker(amatrix,alpha,acolor,F,smth, lineStyle, varargin)
% usage: stdshading(amatrix,alpha,acolor,F,smth)
% plot mean and sem/std coming from a matrix of data, at which each row is an
% observation. sem/std is shown as shading.
% - acolor defines the used color (default is red... |
1525edc152af32da7681ac477a3db63991643c8b86cd2ee963502e269affa990 | MATLAB | 2,495 | 59 | % Copyright (C) Alex A. Bhogal, 2021, University Medical Center Utrecht,
% a.bhogal@umcutrecht.nl
% <import_VSGD: imports GEN4 RespirAct data >
%
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Found... |
1c24b3bb73f2a874381e79a2f2b7bccac0b01bd8e4f016c62442189db8dabc31 | MATLAB | 2,502 | 101 | %%
% Population steady state calculation using adjusted Eqn. 4.33
% from de la Rocha, 2007 (converts the integral to use erfc)
%%
function [firing_rates,nan_warning,warning_notice] = ...
theory_firing_rate_fn(m_ext, var_ext,tau_m,tau_r,V_th,V_r,J,Npop,...
J_sigma,alpha,tau_s)
%% Find the steady state firing ... |
a46fc3dfcd60dee47d637a6dfdb0fdedd9ae0b375c184761e20b8d1e79b68645 | MATLAB | 2,504 | 95 | function [WTA,PercentRivalry,meanD,coefVarD,meanDmix] = model_core_adap(p,PlotSwitch,GaussKernelSwitch)
% Simulation: ode45 integration, metrics calculation
% Returns the WTA index, the percentage of dominance time (PDT),
% the mean percept duration, the coefficient of variation (CV) of percept durations
% and th... |
de60a5195ab5c40246b4719c5e83e1613f0bf834b89562ff96407e3d47c480d3 | MATLAB | 2,506 | 71 | function setdefaultbutton(figHandle, btnHandle)
% WARNING: This feature is not supported in MATLAB and the API and
% functionality may change in a future release.
%SETDEFAULTBUTTON Set default button for a figure.
% SETDEFAULTBUTTON(BTNHANDLE) sets the button passed in to be the default button
% (the button and call... |
04a901f1f58ce00a39b391fda0a2c88077cc8127abfa3c221455c6b6a88bd2ed | MATLAB | 2,510 | 54 | function generatePanels_Fig06_rev(Fig06)
plotTime=((1:length(Fig06.stim_evoked_Transitions.transition2Awake.dHbT))/Fig06.constants.dal_fr)-10;
%% State Transitions P15
figure(60);
subplot(2,2,1);
hold on;
plot(plotTime,mean(Fig06.stim_evoked_Transitions.steadyAwake.dHbT,1),'r');
plot(plotTime,mean(Fig06.stim_e... |
b81f28b5407ad6526470a5e8047511d9a1c5ea4ee0ee365eabedb62d20741cea | MATLAB | 2,513 | 99 | function visIDX_FullTmBRFS_ReTrig(IDX,dataType)
%% Initial variables
conditNameForCC = IDX.allV1(1).condition.Properties.RowNames;
TM = IDX.allV1(1).tm;
uctLength = length(IDX.allV1);
% B. pull out all laminar matrices 3x(6,450,el#)
%preallocate
SDF = nan(size(IDX.allV1(1).SDF.raw,1),size(IDX.allV1(1).SDF.raw,2),u... |
dfb2559874e17e123d0c60c40d10c0b1120c7b4fb235aaf9e89489e52ef850ac | MATLAB | 2,515 | 61 | %% LaBGAS_copy_single_trial_con_imgs_CANlab_folder_struct
%
% This simple script copies all single trial con images from
% rootdir\firstlevel\model_x_yyy\sub-zz\ to
% rootdir\secondlevel\model_x_yyy\data\sub-zz
% to prepare second level analysis with CANlab batch scripts
%
% Con images include
% 1. con_0001-3 defined i... |
d4c482b59abbade2740ecd86fd174db43a24b3cd6409b674eb6c78d14b064757 | MATLAB | 2,524 | 76 | function [toPlay, toReward] = selectSound(behavior, area, toReward, handles)
% stimdir : area|good sound|bad sound|neutral sound|probabilities
% behavior: area(1-n)|IA number(1-12)|behavior type(1-eat,2-drink,3-get airpuff| response(reward/punishment/nothing)
% toPlay: index in the stimulusList of the sound that shoul... |
818e282330fec0db16caae9908fa2bbf86a2a7d66711dc30372d92672913afea | MATLAB | 2,525 | 62 | function plot_Adult_Transitions(~)
load('Fig6_AdultPlots_Turner.mat');
theAnimals=fieldnames(AnalysisResults);
for anNum=1:size(theAnimals,1)
evokedTypes=fieldnames(AnalysisResults.(theAnimals{anNum}).EvokedAvgs);
for typeNum=1:size(evokedTypes,1)
GroupedData.(evokedTypes{typeNum}).dHbT(anNu... |
b06033872efaf14797b6b916642c09c6b75746f867dd0a545aa68799832419b1 | MATLAB | 2,525 | 67 | % Copyright (C) Alex A. Bhogal, 2021, University Medical Center Utrecht,
% a.bhogal@umcutrecht.nl
% <basicCVR: generates a basic CVR map using baseline and stimulus indices >
%
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as publishe... |
9fe2777d17ea8ca8ec7dcbd80e1dc8f43b801f72dec1a1052fa09bf977b984a7 | MATLAB | 2,528 | 129 | function [features]=ephys_pipeline_smscore(s,fs,varargin)
%computes spectral features of a given signal
%
%
nparams=length(varargin);
if mod(nparams,2)>0
error('Parameters must be specified as parameter/value pairs');
end
n=1024; % spectrogram window size
overlap=1000; % spectrogram overlap
sigma=1.5; % Gaussian t... |
06070e80948d5f1dbf3049eaee20800d12589c3a7fa397113f516c35b2f26dd2 | MATLAB | 2,530 | 47 | function [Result] = AO_SetStimulationParameters(FirstPhaseDelay_mS,FirstPhaseAmpl_mA,FirstPhaseWidth_mS,SecondPhaseDelay_mS,SecondPhaseAmpl_mA,SecondPhaseWidth_mS,Freq_hZ,Duration_sec,ReturnChannel,channelnumber);
%%This function Set the parameter of the stimularion
% FirstPhaseDelay_mS: the delay of the first phase
%... |
d512279ff3b14037f226c416eb50a61726461939903961f517aab75419d3596f | MATLAB | 2,532 | 71 | % Copyright (C) Alex A. Bhogal, 2021, University Medical Center Utrecht,
% a.bhogal@umcutrecht.nl
% <grabTimeseres: extract voxel timeseries data and associated coordinates >
%
% This program is free software: you can redistribute it and/or modify
% it under the terms of the GNU General Public License as publishe... |
9ce726fec6252e1029175ce5bd79a33832dad8c916ad818121b3f07534a641ed | MATLAB | 2,541 | 56 | function [behavior_struct_arr, NA_FR_arr] = create_aligned_times(t_sim_times, t_sound, NA_db, t_state)
% Function create_aligned_times creates a cell array of structs, each corresponding to one window of the
% simulation. The window length are defined based on the predefined FPS.
%
% Inputs:
% t_sim_times - ((FPSx... |
92fae60cc239019a6ee8d1533368d4654b9fb000100b77452a9458b28c0be8a0 | MATLAB | 2,543 | 54 | function show_maps_mouse_dev_copy_allages( map,map_dxyz,pmap,pthresh,ana,ana_dxyz,...
brain_mask,bounding_box,vmin,vmax,vmean,vsigma,cluster_size,selected_slices,option,brightness)
ana = ana(:,:,selected_slices);
brain_mask = brain_mask(:,:,selected_slices);
map3d = zeros([64,64,length(selected_slices)]);
pm... |
94723f2bb0cfca106597eea966941a9c95683361698a079ab240d053c02dc924 | MATLAB | 2,546 | 68 | %%
% Recreates SFig 5 for Kumar et al., 2023
%
% Compares the firing rates for the pre- and post-damage cases for the
% default circuit configuration and the network with no feedforward inputs
% onto VIPs
% The feedforward inputs are essentially "replace" by manually modeling
% short-term facilitation of excitatory inp... |
cd62581db7f203b05b49cfaf1092cabfd4950b5e75d6e079305eea5959b2aab2 | MATLAB | 2,550 | 58 | function [path_ext, runinfo] = loadTIFF_info(path, varargin)
[~, ~, ext] = fileparts(path);
if strcmp(ext, '.tiff') || strcmp(ext, '.tif') || strcmp(ext, '.TIFF') || strcmp(ext, '.TIF')
% path is to multilayer tiff file, meaning it is from IonPath
disp(['Loading multilayer TIFF data at ', path, ... |
cdda1d485cac2b6773df1ca9e8f31abb5f3d1e4ce7254e576292af185b9a1b44 | MATLAB | 2,552 | 85 | %% significance of difference in prior-axis projected population responses
clear; clc;
%%%% difference in subspace %%%
%load data
load('subspace_position_A.mat');
real_a = sdata;
load('subspace_position_B.mat');
real_b = sdata;
load('permutation_A.mat');
perm_a = sdata;
load('permutation_B.mat');
perm_b = sdata;
% n... |
f3618d35862ed96b10d8f56e30a1471f9944e1780fae09ab4ba4c4c4104a3f55 | MATLAB | 2,557 | 117 | function clusterProbTrackKmeans (in_subj4d_file,out_subj_kmeans)
%takes in, e.g.:
%work/sub-XX/bedpost.CIT168_striatum_cortical/probtrack/MNI152NLin2009cAsym/seeds.4d.nii.gz
%subj4d_file='seeds.4d.nii.gz';
%out_maxprob='maxprob.nii.gz';
%out_subj_kmeans='kmeans_subjCentroids.nii.gz';
prob_nii=load_nifti(in_subj4d_fi... |
c0883cefc47968838779b526f75ae20405f176cf3c09a5025873e320d84bbce8 | MATLAB | 2,563 | 70 | function [valid_flag,err,is_formula]=check_if_legal(comp,prop,val,def_arr,var_arr)
% CHECK_IF_LEGAL checks the legacy of the given val as a Level_comp-object property.
% [VALID_FLAG,ERR,IS_FORMULA]=CHECK_IF_LEGAL(COMP,PROP,VAL,DEF_ARR,
% VAR_ARR) checks that VAL is a legal value for the Level_comp-object property-... |
a0c70ab29409156627616f89608b45114c64641db6b12fb83135836011671a31 | MATLAB | 2,567 | 58 | function E_indiv_fitting(datswitch)
load('D_indiv_dataload.mat','NE','NM')
switch datswitch % choose between near miss and narrow escape data
case 1
dat = NE;
case 2
dat = NM;
end
EEGtime = dat.eegtime;
EEGdat = dat.eegcurve;
behavtime = dat.beha... |
ef9cb8ed344538e37b2d5f458affc1e48ea322de25c168fb93c8676eb42f2e6d | MATLAB | 2,576 | 85 | function mask = MIBI_get_mask_3(rawMaskData,cap,t,gausRad,plot,titletext,reuseFigure)
% NOTE: to get original behavior, simply call
% MibiGetMask(rawMaskDAta,cap,t,gausRad,1,'');
% function mask = MibiGetMask(rawMaskData)
% function gets a 2d matrix of raw MIBI data to use for generating a mask
% a... |
567bd61b6b724722c82bbd09f4f41d6bb7525aae3330d1ccd078f629bd47567c | MATLAB | 2,582 | 60 | function [sig_comp,err_msg]=update_final_swp_values(component,index,def_arr,var_arr)
% UPDATE_FINAL_SWP_VALUES calculates the expressions of the Sweep
% parameter according to the values of the varaibles that appear in the expression.
% [SIG_COMP,ERR_MSG]=UPDATE_FINAL_SEQ_VALUES(COMPONENT,INDEX,DEF_ARR,VAR_ARR)
%... |
69d786b2f2565618dfeb3225853ebef7332403c5e84991ece950b1d503a7efa7 | MATLAB | 2,584 | 59 | function [event_timing_struct] = get_times_for_GUI(all_behave_struct, beh_trigs_cellarr,...
snr_t_cellarr)
% Function get_times_for_GUI generates arrays of timings (enclosed into cell arrays) with timings
% fixed for SNR times.
%
% Inputs:
% all_behave_struct - (st... |
49bb7f00c8b03242f999fc7cc9140b4b8bfc29acc24d8f9cc4c4ff7cebb935da | MATLAB | 2,588 | 76 | %run_simulation
%=============================
% Simulation of TMS results using dynamic decision model. The simulation
% uses the same parameters as Kepecs et al. (2008) Science, and De Martino
% et al. (2013) Nat Neuro. It simulates a default race model for
% attended/unattended X speed/accuracy, and examines how ch... |
5a7dcd7ea12da45c983e33c61fbbf03bda14d19ef9a8d9c0df7441aa5f747ab8 | MATLAB | 2,589 | 81 | classdef GapTrainingStimuliGenerator < AudioObjectGenerator
%GAPINTERVALDELAYGENERATOR creates GapStimuli for training.
% This AudioObjectGenerator creates GapStimuli with a normally distributes
% gap duration, for which mean and std can be specified.
% The normal distribution will be cut off at gapDurationBounds... |
a691046f530d31ba3bf3485829ea42e789c0ff1f17957a129dd096c2b040d2d0 | MATLAB | 2,589 | 99 | function [SpcTimeVector,F,SpcContactAvg] = ...
plotSpectrogramFullContactAvg_combineConditions(IDX,CondToCombine)
conditionTable = IDX.allV1(1).condition;
conditionName{1} = conditionTable.Properties.RowNames{CondToCombine(1)};
conditionName{2} = conditionTable.Properties.RowNames{CondToCombine(2)};
titleText = {... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.