Description Usage Arguments Value Examples
Modifies the list obtained from a call to statistics.events to a matrix with rows corresponding to fcs files and columns corresponding to the population types
1 | parseevents(results, popsinterest, fcs)
|
results |
- The results of a call to statistics.events function |
popsinterest |
- List of gateSetID numbers for populations of interest with descriptions as names |
fcs |
- List of fcs file IDs of interest with description of FCS files as names |
Returns a matrix of event counts with rows corresponding to fcs files and columns corresponding to populations of interest
1 2 3 4 5 6 7 8 9 10 11 | library(CytobankAPI)
cyto_session <- authenticate(site="premium", username="myusername", password="mypassword")
exptno<-2
popsofinterest1<-c("CD4 T cells","NK cells")
popsinterest<-getpops(popsofinterest1,exptno,cyto_session)
fcs<-getfcsfiles(exptno,cyto_session)
results<-statistics.event_counts(cyto_session, exptno, gate_version = 1,
compensation_id=1,fcs_files=fcs,populations = popsinterest,output = "default",
timeout = UserSession@long_timeout)
parseevents(results,popsinterest,fcs)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.