cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • DownloadSemiconductor Toolkit: Tools to create wafer maps, add wafer geometry to graphics, explore die defects & compare wafers.
  • Discovery Summit 2026: Early User Edition - September 23-24.Register. It's free.
  • See how to design an experiment, explore factor-response relationships, assess tradeoffs, and ID best settings. Register for Sep. 11 Mastering JMP.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
Thierry_S
Super User

JMP > Multiple Response Modeling > Retrieve List of Individual Responses

Hi JMP Community,

JMP 17.2 on Windows 10

I have a Table listing Pathways and their constituents (Overlap_gene) with a Multiple Response modeling type from a publication. 

How can I assemble a list of all unique entries in the Overlap_gene from this table?

 

Of note, the Data Filter tool provides the breakdown of unique entries as desired, but I have not figured out how to retrieve them as a list.

 

Thank you,

Best,

TS

 

 

 

Thierry R. Sornasse
1 ACCEPTED SOLUTION

Accepted Solutions
jthi
Super User

Re: JMP > Multiple Response Modeling > Retrieve List of Individual Responses

One option is to use Distribution and extract the values from the Frequencies table by making a data table

Names Default To Here(1);
dt = Current Data Table();
dist = dt << Distribution(Multiple Response Distribution(Column(:overlap_genes)));
dt_vals = Report(dist)["Frequencies", Table Box(1)] << Make Into Data Table;
vals = dt_vals[0,1];
close(dt_vals, no save);
dist << Close Window;

show(vals);
-Jarmo

View solution in original post

2 REPLIES 2
jthi
Super User

Re: JMP > Multiple Response Modeling > Retrieve List of Individual Responses

One option is to use Distribution and extract the values from the Frequencies table by making a data table

Names Default To Here(1);
dt = Current Data Table();
dist = dt << Distribution(Multiple Response Distribution(Column(:overlap_genes)));
dt_vals = Report(dist)["Frequencies", Table Box(1)] << Make Into Data Table;
vals = dt_vals[0,1];
close(dt_vals, no save);
dist << Close Window;

show(vals);
-Jarmo
hogi
Level XIII

Re: JMP > Multiple Response Modeling > Retrieve List of Individual Responses

ver< elegant!

 

Another option: split the entries into multiple columns, stack them and the calculate a summary:

dt = current data table();
n1 = ncols(dt);
dt << Text to Columns( columns( :overlap_genes ), Delimiters( ",", " " ) );
n2 = ncols(dt);

dtstack = dt << Stack(
	columns(Eval(n1+1 ::  n2)),
	Drop All Other Columns( 1 ),
);

dtstack << Select Where( :Data == "" ) << Delete Rows;

dtstack << Summary(	Group( :Data ));

Recommended Articles