analyzedata: Returns a matrix of event counts or raw medians, as specified...

Description Usage Arguments Value Examples

Description

Returns a matrix of event counts or raw medians, as specified by inputs. Columns correspond to fcs files and rows to markers in cell types

Usage

1
analyzedata(cyto_session, markersofinterest, popsofinterest, exptID, type)

Arguments

cyto_session

- API authentication token for session

markersofinterest

- Names of channel parameters in Cytobank as list of strings

popsofinterest

- Names of gates of interest in Cytobank as list of strings

exptID

- Integer representing an experiment ID on Cytobank account

type

- boolean with TRUE to analyze events, FALSE to analyze marker intensity statistics

Value

Returns a data matrix of event counts or raw signal medians, as specified by variable type

Examples

1
2
3
4
5
6
7
library(CytobankAPI)
cyto_session <- authenticate(site="premium", username="myusername", password="mypassword")
markersofinterest<-c("CD3","CD56")
popsofinterest<-c("CD4 T cells","NK cells")
exptID=4
type=TRUE
analyzedata(cyto_session,markersofinterest,popsofinterest,exptID,type)

athrom/CytobankAPIstats documentation built on May 14, 2019, 5:24 p.m.