>
> If I wanted to add $patient_id = 100 to an existing FC file whats the exact code to do this?
> also if I wanted to modify an existing value whats the exact code ?

 > library(flowCore)
 > x <- read.FCS('/path to your FCS file/')
 > x@description$patient_id <- '100'

Works for both, adding a new keyword/value pair or replacing an existing 
value.

On 10-06-25 03:00 AM, bioconductor-request@stat.math.ethz.ch wrote:
> -----------------------------
> Message: 10
> Date: Thu, 24 Jun 2010 14:25:38 -0700 (PDT)
> From: David Lyon<david_lyon3@yahoo.com>
> To: bioconductor@stat.math.ethz.ch
> Subject: [BioC] flowcore
> Message-ID:<224578.300.qm@web113519.mail.gq1.yahoo.com>
> Content-Type: text/plain; charset=us-ascii
>
> Hello
>
>
>
> can someone show me how to add metadata to a FC file eg:
>
> If I wanted to add $patient_id = 100 to an existing FC file whats the exact code to do this?
>
> also if I wanted to modify an existing value whats the exact code ?
>
> Thanks alot
>
>    


	[[alternative HTML version deleted]]

