Description Usage Arguments Details See Also Examples
Post-process the output of loadMoiraiStats
1 | llPostProcess(TABLE, TYPE = "")
|
TABLE |
A table output by loadMoiraiStats. Should at least contain a column called ‘samplename’. |
TYPE |
A type of post-processing. |
If the TYPE is ‘C1 96’, the sample names are assumed to be made of a run name, followed by an underscore, followed by a coordinate in 96-well plate format. These sample names are parsed to parsed to produce new columns for ‘Run’, ‘Well’, ‘Row’, ‘Column’ and ‘Chamber’ accordingly.
If the TYPE is ‘nano-fluidigm’, the generic ‘RunA’ and
‘RunB’ names are replaced with the C1 run IDs found in the
RunA
and RunB
variables, which must exist. These new sample
names are then parsed like in the ‘C1 96’ type.
loadMoiraiStats
Other smallCAGEqc metadata functions: loadMoiraiStats
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | libs <-
loadMoiraiStats(
summary = system.file("extdata/summary.txt", package="smallCAGEqc")
, multiplex = system.file("extdata/samplename_to_sampleid.txt", package="smallCAGEqc")
, pipeline = "OP-WORKFLOW-CAGEscan-short-reads-v2.0" )
libs %>% head
# Basic processing with "C1 96" mode.
libs %>% llPostProcess("C1 96") %>% head
# More extensive processing requires RunA and RunB to be set.
RunA <- "ID-of-Run-A"
RunB <- NA # No RunB in this example
libs %>% llPostProcess("nano-fluidigm") %>% head
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.