as.varietal | R Documentation |
varietal
objectConvert an object of class matrix
or data.frame
to an
object of class varietal
as.varietal(x, snames = NULL, method = "KS")
x |
an object of class |
snames |
either a vector of sample names, an integer marking
the length of the sample name prefix, or |
method |
either |
an object of class varietal
fn <- system.file("SNSM/Ttn_chem.csv",package="provenance")
ap1 <- read.csv(fn)
ap2 <- as.varietal(x=ap1,snames=3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.