You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+38-16Lines changed: 38 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -7,10 +7,16 @@ An R wrapper for running the SigProfilerMatrixGenerator (https://osf.io/s93d5/wi
7
7
8
8
**PREREQUISITES**
9
9
10
-
devtools
10
+
devtools (R)
11
11
```
12
-
install.packages("devtools")
12
+
>> install.packages("devtools")
13
13
```
14
+
reticulate* (R)
15
+
```
16
+
>> install.packages("reticulate")
17
+
```
18
+
19
+
*Reticulate has a known bug of preventing python print statements from flushing to standard out. As a result, some of the typical progress messages are delayed.
14
20
15
21
**QUICK START GUIDE**
16
22
@@ -19,37 +25,53 @@ This section will guide you through the minimum steps required to create mutatio
19
25
```
20
26
pip install SigProfilerMatrixGenerator
21
27
```
28
+
2. Open an R session and ensure that your R interpreter recognizes the path to your python3 installation:
3. Load the package in an R session and install your desired reference genome as follows (available reference genomes are: GRCh37, GRCh38, mm9, and mm10):
48
+
3. Load the package in the same R session and install your desired reference genome as follows (available reference genomes are: GRCh37, GRCh38, mm9, and mm10):
27
49
```
28
-
$ R
29
50
>> library("SigProfilerMatrixGeneratorR")
30
-
>> install('GRCh37', rsync=False, bash=True)
51
+
>> install('GRCh37', rsync=FALSE, bash=TRUE)
31
52
```
32
-
This will install the human 37 assembly as a reference genome.
53
+
54
+
This will install the human 37 assembly as a reference genome.
33
55
34
56
4. Place your vcf files in your desired output folder. It is recommended that you name this folder based on your project's name
35
-
5. From within an R session, you can now generate the matrices as follows:
57
+
58
+
5. From within the same R session, you can now generate the matrices as follows:
0 commit comments