Description Usage Arguments Details Value Functions Examples
PhIP-Seq experiments often use identical peptide libraries different cohorts. These functions enable the user to conveniently reuse tidied libraries.
1 2 3 4 5 6 7 |
name |
name of the library |
library |
a |
Each library is stored as a DataFrame in .rds file.
New libraries can be stored for future use with the makeLibrary
function.
getLibrary
returns a DataFrame corresponding to
the peptide information for the specified library.
getLibrary
: return a DataFrame with the
peptide information corresponding to the library.
makeLibrary
: create and store a DataFrame with
the specified peptide information.
removeLibrary
: delete stored libraries
listLibrary
: list all available libraries
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | ## Create a new library
pep_meta <- data.frame(species = c(
rep("human immunodeficiency virus", 3),
rep("Epstein-Barr virus", 2)
))
makeLibrary(pep_meta, "new_library")
## Use new library
counts_dat <- matrix(1:10, nrow = 5)
phip_obj <- PhIPData(
counts = counts_dat,
peptideInfo = getLibrary("new_library")
)
## List libraries
listLibrary()
## Delete created library
removeLibrary("new_library")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.