<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Transforming a matrix of data to columns (with sample labels) in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Transforming-a-matrix-of-data-to-columns-with-sample-labels/m-p/809094#M98867</link>
    <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I process a lot of data sets with a unique format. They contain a matrix of data with a corresponding "map" of their labels. I've made a simplified version here as an example. The sample labels are in the first rows, followed by the data itself.&amp;nbsp; For example, Sample 1 was measured 3 times and results are 20, 30, 40.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-10-29 at 1.37.30 PM.png" style="width: 280px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/69637iAE044BB895F3E6A5/image-dimensions/280x118?v=v2" width="280" height="118" role="button" title="Screenshot 2024-10-29 at 1.37.30 PM.png" alt="Screenshot 2024-10-29 at 1.37.30 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I want to transform this data set so that the label is in column 1 and the corresponding data is in Column 2, like so:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-10-29 at 1.38.35 PM.png" style="width: 206px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/69638i907B0FA1091C10DB/image-dimensions/206x170?v=v2" width="206" height="170" role="button" title="Screenshot 2024-10-29 at 1.38.35 PM.png" alt="Screenshot 2024-10-29 at 1.38.35 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I haven't figure out how to do this with any of the "Table" functions. I was playing around with stack to get them all into one column, but I can't grab the bottom rows and bring them over to a new column. I realize I can just copy-paste at this point, but I am looking to build a workflow.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 29 Oct 2024 17:51:05 GMT</pubDate>
    <dc:creator>nickicmc5</dc:creator>
    <dc:date>2024-10-29T17:51:05Z</dc:date>
    <item>
      <title>Transforming a matrix of data to columns (with sample labels)</title>
      <link>https://community.jmp.com/t5/Discussions/Transforming-a-matrix-of-data-to-columns-with-sample-labels/m-p/809094#M98867</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I process a lot of data sets with a unique format. They contain a matrix of data with a corresponding "map" of their labels. I've made a simplified version here as an example. The sample labels are in the first rows, followed by the data itself.&amp;nbsp; For example, Sample 1 was measured 3 times and results are 20, 30, 40.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-10-29 at 1.37.30 PM.png" style="width: 280px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/69637iAE044BB895F3E6A5/image-dimensions/280x118?v=v2" width="280" height="118" role="button" title="Screenshot 2024-10-29 at 1.37.30 PM.png" alt="Screenshot 2024-10-29 at 1.37.30 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I want to transform this data set so that the label is in column 1 and the corresponding data is in Column 2, like so:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-10-29 at 1.38.35 PM.png" style="width: 206px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/69638i907B0FA1091C10DB/image-dimensions/206x170?v=v2" width="206" height="170" role="button" title="Screenshot 2024-10-29 at 1.38.35 PM.png" alt="Screenshot 2024-10-29 at 1.38.35 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I haven't figure out how to do this with any of the "Table" functions. I was playing around with stack to get them all into one column, but I can't grab the bottom rows and bring them over to a new column. I realize I can just copy-paste at this point, but I am looking to build a workflow.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2024 17:51:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Transforming-a-matrix-of-data-to-columns-with-sample-labels/m-p/809094#M98867</guid>
      <dc:creator>nickicmc5</dc:creator>
      <dc:date>2024-10-29T17:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: Transforming a matrix of data to columns (with sample labels)</title>
      <link>https://community.jmp.com/t5/Discussions/Transforming-a-matrix-of-data-to-columns-with-sample-labels/m-p/809109#M98869</link>
      <description>&lt;P&gt;Transpose your data and delete the Label column&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_0-1730225833817.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/69639i26E4C11E988A0E47/image-size/medium?v=v2&amp;amp;px=400" role="button" title="txnelson_0-1730225833817.png" alt="txnelson_0-1730225833817.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Then use&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Tables=&amp;gt;Stack&lt;/P&gt;
&lt;P&gt;and use a Multiple series stack to get what you want&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_1-1730225944918.png" style="width: 779px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/69640iBEA68FB4C0742AD3/image-dimensions/779x374?v=v2" width="779" height="374" role="button" title="txnelson_1-1730225944918.png" alt="txnelson_1-1730225944918.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2024 18:19:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Transforming-a-matrix-of-data-to-columns-with-sample-labels/m-p/809109#M98869</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2024-10-29T18:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: Transforming a matrix of data to columns (with sample labels)</title>
      <link>https://community.jmp.com/t5/Discussions/Transforming-a-matrix-of-data-to-columns-with-sample-labels/m-p/809117#M98875</link>
      <description>&lt;P&gt;Thank you! Worked perfectly.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2024 19:31:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Transforming-a-matrix-of-data-to-columns-with-sample-labels/m-p/809117#M98875</guid>
      <dc:creator>nickicmc5</dc:creator>
      <dc:date>2024-10-29T19:31:16Z</dc:date>
    </item>
  </channel>
</rss>

