Description Usage Arguments Value See Also Examples
View source: R/hiReadsProcessor.R
Given a sampleInfo object, the function extracts a defined feature(s) for given sample or sector.
1 2 | extractFeature(sampleInfo, sector = NULL, samplename = NULL,
feature = NULL)
|
sampleInfo |
sample information SimpleList object, which samples per sector/quadrant information along with other metadata. |
sector |
a vector or specific sector to extract the feature from. Default is NULL, which extracts all sectors. |
samplename |
a character vector or a specific sample to extract feature from. Default is NULL, which extracts all samples. |
feature |
Options include: primed, LTRed, linkered, decoded, and any of the metadata. Default is NULL. When feature='metadata', then it returns names of all the metadata elements associated with the sample as a comma separated list. |
a list or list of lists depending upon which parameters were supplied.
addFeature
, findPrimers
,
findLTRs
, findLinkers
,
extractSeqs
, trimSeqs
,
getSectorsForSamples
1 2 3 4 5 6 7 | load(file.path(system.file("data", package = "hiReadsProcessor"),
"FLX_seqProps.RData"))
samples <- c('Roth-MLV3p-CD4TMLVWell6-Tsp509I',
'Roth-MLV3p-CD4TMLVWell6-MseI', 'Roth-MLV3p-CD4TMLVwell5-MuA')
extractFeature(seqProps, sector='2', samplename=samples, feature="primed")
extractFeature(seqProps, sector='2', samplename=samples, feature="linkered")
extractFeature(seqProps, sector='2', samplename=samples, feature="metadata")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.