Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected output from fDataToUnknown #144

Open
lmsimp opened this issue Dec 10, 2021 · 0 comments
Open

Unexpected output from fDataToUnknown #144

lmsimp opened this issue Dec 10, 2021 · 0 comments
Assignees

Comments

@lmsimp
Copy link
Collaborator

lmsimp commented Dec 10, 2021

Modify function to fix the below example

library(pRolocdata)
data("hyperLOPIT2015")
getMarkerClasses(hyperLOPIT2015)

hyperLOPIT2015 <- fDataToUnknown(hyperLOPIT2015, 
                                 fcol = "markers", 
                                 from = "Nucleus - Chromatin", 
                                 to = "CHROMATIN")
getMarkerClasses(hyperLOPIT2015)

hyperLOPIT2015 <- fDataToUnknown(hyperLOPIT2015, 
                                 fcol = "markers", 
                                 from = "Nucleus - Non-chromatin", 
                                 to = "NUCLEUS")
getMarkerClasses(hyperLOPIT2015)

hyperLOPIT2015 <- fDataToUnknown(hyperLOPIT2015, 
                                 fcol = "markers", 
                                 from = "NUCLEUS", 
                                 to = "NUCLEUS/CHROMATIN")
getMarkerClasses(hyperLOPIT2015)
 [1] "40S Ribosome"                          "60S Ribosome"                          "Actin cytoskeleton"                   
 [4] "CHROMATIN"                             "Cytosol"                               "Endoplasmic reticulum/Golgi apparatus"
 [7] "Endosome"                              "Extracellular matrix"                  "Lysosome"                             
[10] "Mitochondrion"                         "NUCLEUS/CHROMATIN"                     "Peroxisome"                           
[13] "Plasma membrane"                       "Proteasome"  

hyperLOPIT2015 <- fDataToUnknown(hyperLOPIT2015, 
                                 fcol = "markers", 
                                 from = "CHROMATIN", 
                                 to = "NUCLEUS/CHROMATIN")
getMarkerClasses(hyperLOPIT2015)
 [1] "40S Ribosome"                          "60S Ribosome"                          "Actin cytoskeleton"                   
 [4] "Cytosol"                               "Endoplasmic reticulum/Golgi apparatus" "Endosome"                             
 [7] "Extracellular matrix"                  "Lysosome"                              "Mitochondrion"                        
[10] "NUCLEUS/CHROMATIN"                     "NUCLEUS/NUCLEUS/CHROMATIN"             "Peroxisome"                           
[13] "Plasma membrane"                       "Proteasome"    
@lmsimp lmsimp self-assigned this Dec 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant