Skip to content

Commit 840d482

Browse files
committed
feat: initial commit
0 parents  commit 840d482

11 files changed

+117
-0
lines changed

.Rbuildignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
^reTCR\.Rproj$
2+
^\.Rproj\.user$
3+
^LICENSE\.md$

.gitignore

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
.Rproj.user
2+
.Rhistory
3+
.Rdata
4+
.httr-oauth
5+
.DS_Store
6+
.quarto

DESCRIPTION

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
Package: reTCR
2+
Title: TCR Repertoire Analysis in R
3+
Version: 0.0.0.9000
4+
Authors@R:
5+
c(
6+
person("Abdullah", "Al Nahid", email= "[email protected]", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-4390-0768")),
7+
person("Karishma", "Chhugani", email = "[email protected]", role = c("aut"), comment = c(ORCID = "")),
8+
person("Ella Maria", "Schwab", email = "[email protected]", role = c("aut"), comment = c(ORCID = "")),
9+
person("Serghei", "Mangul", email = "[email protected]", role = c("aut", "rev"), comment = c(ORCID = "")),
10+
)
11+
Description: The reTCR R package offers a streamlined framework for processing and analyzing TCR repertoire data from high-throughput sequencing experiments. It leverages the MiXCR software with custom presets tailored to different library preparation methods, ensuring standardized data processing for comparative studies. The package integrates seamlessly with R, enabling researchers to query and filter TCR repertoire data based on various metadata characteristics such as disease phenotype, age, gender, and library preparation methods. Additionally, it incorporates the pyTCR tool, which calculates a comprehensive set of diversity metrics, including the Shannon-Wiener index, Gini coefficient, weighted usage of V, D, and J genes, and the mean length of CDR3 nucleotide sequences, providing a robust platform for in-depth immune repertoire analysis.
12+
License: MIT + file LICENSE
13+
Encoding: UTF-8
14+
Roxygen: list(markdown = TRUE)
15+
RoxygenNote: 7.2.3
16+
Suggests:
17+
testthat (>= 3.0.0)
18+
Config/testthat/edition: 3

LICENSE

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
YEAR: 2024
2+
COPYRIGHT HOLDER: Mangul Lab

LICENSE.md

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# MIT License
2+
3+
Copyright (c) 2024 Mangul Lab
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

NAMESPACE

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Generated by roxygen2: do not edit by hand
2+

NEWS.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# reTCR (development version)
2+
3+
* Initial CRAN submission.

README.md

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
2+
# reTCR
3+
4+
<!-- badges: start -->
5+
<!-- badges: end -->
6+
7+
The goal of reTCR is to ...
8+
9+
## Installation
10+
11+
You can install the development version of reTCR like so:
12+
13+
``` r
14+
# FILL THIS IN! HOW CAN PEOPLE INSTALL YOUR DEV PACKAGE?
15+
```
16+
17+
## Example
18+
19+
This is a basic example which shows you how to solve a common problem:
20+
21+
``` r
22+
library(reTCR)
23+
## basic example code
24+
```
25+

reTCR.Rproj

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
Version: 1.0
2+
3+
RestoreWorkspace: No
4+
SaveWorkspace: No
5+
AlwaysSaveHistory: Default
6+
7+
EnableCodeIndexing: Yes
8+
UseSpacesForTab: Yes
9+
NumSpacesForTab: 2
10+
Encoding: UTF-8
11+
12+
RnwWeave: Sweave
13+
LaTeX: pdfLaTeX
14+
15+
AutoAppendNewline: Yes
16+
StripTrailingWhitespace: Yes
17+
LineEndingConversion: Posix
18+
19+
BuildType: Package
20+
PackageUseDevtools: Yes
21+
PackageInstallArgs: --no-multiarch --with-keep.source
22+
PackageRoxygenize: rd,collate,namespace

tests/testthat.R

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# This file is part of the standard setup for testthat.
2+
# It is recommended that you do not modify it.
3+
#
4+
# Where should you do additional test configuration?
5+
# Learn more about the roles of various files in:
6+
# * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
7+
# * https://testthat.r-lib.org/articles/special-files.html
8+
9+
library(testthat)
10+
library(reTCR)
11+
12+
test_check("reTCR")

tests/testthat/test-my-test.R

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
test_that("multiplication works", {
2+
expect_equal(2 * 2, 4)
3+
})

0 commit comments

Comments
 (0)