sample_data_stable | R Documentation |
phyloseq::sample_data()
will change the sample names from the row names if
they are as.character(1:nrow(object))
. This function instead keeps the
names as is.
sample_data_stable(object)
object |
A "data.frame"-class object |
x <- data.frame(var1 = letters[1:3], var2 = 7:9)
rownames(x)
sample_data(x)
speedyseq:::sample_data_stable(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.