data {Autoplotprotein} | R Documentation |
Save the information
Description
Keep all the information of the painted protein in a file
Usage
data()
Details
Save information, including protein mutation point information, domain information, option information, enlargement information, protein information, length information and site information
Value
Data of various kinds of information
Author(s)
Xiaoyu Zhang
References
https://cran.r-project.org/doc/manuals/R-exts.html
See Also
codehelp
Examples
##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
## The function is currently defined as
function ()
{
library("ade4")
library("seqinr")
library("plotrix")
protein = read.table("Protein.txt", sep = "\t", stringsAsFactors = F)
domain = read.table("Domain.txt", sep = "\t", stringsAsFactors = F)
length = read.table("Length.txt", sep = "\t", stringsAsFactors = F)
site = read.table("Site.txt", sep = "\t", stringsAsFactors = F)
muta = read.table("Mutagenesis.txt", sep = "\t", stringsAsFactors = F)
option = read.table("Option.txt", sep = "\t", stringsAsFactors = F)
zoomin = read.table("ZoomIn.txt", sep = "\t", stringsAsFactors = F)
c <- merge(muta, domain, all = T, sort = FALSE)
c <- merge(c, option, all = T, sort = FALSE)
c <- merge(c, zoomin, all = T, sort = FALSE)
c <- merge(c, protein, all = T, sort = FALSE)
c <- merge(c, length, all = T, sort = FALSE)
c <- merge(c, site, all = T, sort = FALSE)
write.table(c, file = "data.txt", sep = "\t", quote = FALSE,
row.names = F, col.names = F)
}
[Package Autoplotprotein version 1.1 Index]