CATALYST icon indicating copy to clipboard operation
CATALYST copied to clipboard

Sce2FCS prevent renaming of channels

Open ammasakshay opened this issue 4 years ago • 1 comments
trafficstars

fs <- sce2fcs(sce, split_by = "sample_id")

      orig_channel_name new_channel_name
$P7N               CD45           CD45-1
$P9N               CD45           CD45-2
$P11N              CD45           CD45-3
$P12N              CD45           CD45-4
$P13N              CD45           CD45-5
$P21N                EQ             EQ-1
$P23N                EQ             EQ-2
$P58N                EQ             EQ-3

Can we prevent it from automatically renaming channels?

ammasakshay avatar Apr 01 '21 17:04 ammasakshay

Got it, thanks. I think I see the issue now.

What's happening is that Im normalizing 8 runs of the experiment together. I then write them to .fcs files using the sce2fcs function. I then take each run and de-barcode each run individually. However because channel names get changed during this process, during the debarcoding I get the error:

Error in assignPrelim(sce, mat) : Couldn't match masses extracted from channel names and debarcoding scheme.

I'm not quite sure how to fix this.

On Thu, Apr 1, 2021 at 1:43 PM Helena L. Crowell @.***> wrote:

Unfortunately not, because rownames in the SCE have to be unique...

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/HelenaLC/CATALYST/issues/195#issuecomment-812066597, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALT3GSHE3BT6Y5BZNXATQMTTGSWFJANCNFSM42HQAZZA .

ammasakshay avatar Apr 01 '21 18:04 ammasakshay