runsBySample {ebimetagenomics}R Documentation

Find runs associated with a particular sample ID within an EMG project

Description

This function queries an already-downloaded project summary file for vector of EMG run IDs associated with a particular sample ID within the project.

Usage

runsBySample(summ,sampleID)

Arguments

summ

An EMG project summary file, as returned by getProjectSummary.

sampleID

A string representing a valid EMG sample ID within the project summ.

Value

An R vector containing a list of strings representing EMG run IDs.

See Also

getProjectSummary, projectSamples, projectRuns

Examples


ps=getProjectSummary("SRP047083")
samp=projectSamples(ps)
runsBySample(ps,samp[2])

[Package ebimetagenomics version 0.7 Index]