forked from jamesjcai/scGEAToolbox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdemo_Getting_Started.m
39 lines (26 loc) · 904 Bytes
/
demo_Getting_Started.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
% Learn to use SCGEATOOL - Single-cell Gene Expression Analysis Tool
echo off
clc
echo on
%% DEMO_GETTING_STARTED - Using SCGEATOOL
%
% The SCGEATOOL provides a flexible interface where you can interactively
% explore scRNAseq data and perform analysis. For this demonstration you
% will need to view both the command window and figure windows.
%% (1/4) Change working directory
cdgea;
pause % Press any key to continue...
%% (2/4) Load example data sets
% X - gene-by-cell expression matrix
% g - gene list
% s - coordinates of cell embedding (optional)
load example_data/testXgs.mat X g s
pause % Press any key to continue...
%% (3/4) Make a SingleCellExperiment object SCE
% sce = SingleCellExperiment(X, g, s); % s is optional
sce = SingleCellExperiment(X, g);
pause % Press any key to continue...
%% (4/4) Run SCGEATOOL with SCE
scgeatool(sce)
%% End of DEMO_GETTING_STARTED
echo off