samples are reordered in read.flowSet
1
0
Entering edit mode
Jiang, Mike ★ 1.3k
@jiang-mike-4886
Last seen 3.2 years ago
(Private Address)

David,

Here is the details regarding to the bug fix related to the sorting behavior of 'read.flowSet':

https://github.com/RGLab/flowCore/issues/35

I think it had been sorting samples in the older version which you were probably not aware of.   The latest version just makes sure the sampleNames of flowSet and the actual sample data (flowFrames) are in sync  .

If the default alphabetic order is not what you want, you can always reorder it by 'fs[ind]', where 'ind' is the numeric index that you should be able easily derive from your original file input list.

Mike
________________________________________
From: David Knapp [dknapp@bccrc.ca]
Sent: Thursday, July 30, 2015 10:51 AM
To: Jiang, Mike
Subject: read.flowSet

Hi,

I've been using flowCore for some time for my analyses. I've recently noticed (presumably with the last update) that the read.flowSet function no longer maintains the order of the file vector given to it but instead automatically sorts on file name. This behaviour is increadibly annoying and makes the function completely unusable to me as I need my flowSets to be in the specified order.

Please at least put an option to not sort back in. Thanks.

Sincerely,

David Knapp

flowcore flowcytometry • 1.5k views
ADD COMMENT
0
Entering edit mode
Jiang, Mike ★ 1.3k
@jiang-mike-4886
Last seen 3.2 years ago
(Private Address)

David,

I've pushed the fix to flowCore 1.34.8, which will preserve the original sample order.

Thanks a lot !

Mike

ADD COMMENT

Login before adding your answer.

Traffic: 470 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6