Description Usage Arguments Details Value See Also Examples
View source: R/cbk.read.dflame.R
Read csvfile with column ‘unit’ created by
casteml convert --format dflame
. This is low-level
function and users are not encourage to call this but
cbk.read.casteml().
1 2 | cbk.read.dflame(dflame.csv, tableunit = "none", verbose = TRUE,
force = TRUE)
|
dflame.csv |
A csvfile with columns of stone and rows of element. abundances, with 2nd column ‘unit’. |
tableunit |
Output unit that will be resolved by cbk.convector (default: "none"). |
verbose |
Output debug info (default: TRUE). |
force |
Force read csvfile with duplicated acquisitions (default: TRUE). |
This internally calls
read.csv(dflame.csv,row.names=1,header=T,stringsAsFactors=F)
,
take out column of ‘unit’ and normalized by the ‘unit’ column.
A pmlame with unit organized.
cbk.download.casteml
, casteml
convert
, https://github.com/misasa/casteml, and
cbk.convector
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | pmlfile <- cbk.download.casteml("20081202172326.hkitagawa")
dflame.csv <- cbk.convert.casteml(pmlfile,category="trace")
pmlame <- cbk.read.dflame(dflame.csv,"ppm",force=TRUE)
dflame.csv <- cbk.path("20081202172326.hkitagawa_trace.dflame")
message(sprintf("The dflame.csv is located at |%s|.",dflame.csv))
pmlame <- cbk.read.dflame(dflame.csv,"ppm")
dflame.csv <- cbk.path("ref1-dflame0.csv")
message(sprintf("The dflame.csv is located at |%s|.",dflame.csv))
pmlame <- cbk.read.dflame(dflame.csv,"ppm")
dflame.csv <- cbk.path("periodic-dflame0.csv")
message(sprintf("The dflame.csv is located at |%s|.",dflame.csv))
pmlame <- cbk.read.dflame(dflame.csv)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.