analyzedata {CytobankAPIstats}R Documentation

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

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

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


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)

[Package CytobankAPIstats version 2.0 Index]