import_pheno | R Documentation |
first col should be Accessions phenos should loacted begin second col, phenoName should at the first row, If "." located in pheno name, the former part of phenoName will be set as y axis name and the latter part will be set as foot of the fig.
import_pheno(phenoFile, comment.char = "#", ...)
phenoFile |
pheno file path, should be a table separated by tab |
comment.char |
comment.char, start with comment.char will be ignored |
... |
parameters will pass to read.delim |
data.frame, Accession names were set as rownames and cols were named by pheno names
## Not run: data("quickHap_test") write.table(pheno, file = "test.pheno.txt", quote = FALSE, sep = "\t") pheno <- import_pheno("test.pheno.txt") unlink("test.pheno.txt") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.