proteinInfo
method allows to get and set it. getProteinInfoFromUniprot
downloads information of contained proteins
from Uniprot, getProteinInfoFromBiomart
from Biomart.
"proteinInfo"(x)
"proteinInfo"(x, protein.g, select="name", collapse=", ", simplify = TRUE, do.warn = TRUE)
"proteinInfo"(x, protein.ac, select="name", collapse=", ", simplify = TRUE, do.warn = TRUE)
proteinInfoIsOnSpliceVariants(protein.info)
# getProteinInfoFromUniprot(x, splice.by = 200, fields = c(accession = "id", name
# = "entry%20name", protein_name = "protein%20names",
# gene_name = "genes", organism = "organism", length =
# "length", sequence = "sequence"))
getProteinInfoFromTheInternet(x)
getProteinInfoFromNextProt(x)
getProteinInfoFromBiomart(x, database = "Uniprot")
getProteinInfoFromBioDb(x, ..., con = NULL)
getProteinInfoFromEntrez(x, splice.by = 200)
paste
to concatenate information of
multiple protein in one protein group.accession
, name
,
gene_name
, protein_name
, and possibly length
and sequence
. accession
is mapped with
the entry AC is mapped to the entry AC in the database.
getProteinInfoFromUniprot
is the preferred methods to get the information.
getProteinInfoFromBioDb
is an example how to implement the query on a
local database. Depending on the database, protein information might be
available on protein ACs or also on the specific splice variants. This can be
queried with the proteinInfoIsOnSpliceVariants
function.
data(ibspiked_set1)
pg <- proteinGroup(ibspiked_set1)
## Not run:
# proteinInfo(pg) <- getProteinInfoFromUniprot(pg)
# proteinInfo(pg) <- getProteinInfoFromBiomart(pg)
# ## End(Not run)
proteinInfo(pg,protein.g="P13635")
protein.g(pg,"CERU")
Run the code above in your browser using DataLab