# Determines the lengths of all proteins in the human proteome.
library( seqinr )
x <- read.fasta("proteome/UP000005640_9606.fasta.gz",
forceDNAtolower=FALSE, as.string=TRUE )
for( i in seq_along(x) ){
xn <- strsplit(attr(x[[i]],'name'),"\\|")[[1]][2]
cat(xn," ",nchar(x[[i]]),"\n",sep="")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.